Skip to content

Commit

Permalink
fix test_flow_magic_methods()
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Aug 15, 2023
1 parent 8ad69f5 commit 16f90ff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/core/test_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,11 +905,6 @@ def test_flow_magic_methods():
assert flow1 != flow2
assert hash(flow1) != hash(flow2)

# test __deepcopy__
flow_copy = flow1.__deepcopy__()
assert flow_copy == flow1
assert id(flow_copy) != id(flow1)

# test __getitem__ with out of range index
with pytest.raises(IndexError):
_ = flow1[10]
Expand Down

0 comments on commit 16f90ff

Please sign in to comment.