Skip to content

Commit

Permalink
chore: updates for Ruff updates
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Aug 24, 2024
1 parent bdf7ee0 commit 264b8ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def test_general_transform_proxy():

def test_hist_proxy_matches(named_hist):
h = named_hist.new.Reg(10, 0, 1, name="x").Double()
assert type(h) == named_hist
assert type(h) is named_hist


def test_hist_proxy():
Expand All @@ -710,7 +710,7 @@ def test_hist_proxy():
h = Hist.new.Reg(10, 0, 1, name="x").Double().fill([0.5, 0.5])
assert h[0.5j] == 2

assert type(h) == Hist
assert type(h) is Hist

assert not hasattr(Hist(), "new")

Expand Down

0 comments on commit 264b8ee

Please sign in to comment.