Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix flake8-bugbear warning
B015 Pointless comparison. Did you mean to assign a value?
     Otherwise, prepend `assert` or remove it.
  • Loading branch information
DimitriPapadopoulos committed Jan 4, 2024
commit 0915feeb3e1dd93f8e61e1a6d3ae4a840d435217
4 changes: 2 additions & 2 deletions tests/test_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@


def test_infinity_repr():
repr(Infinity) == "Infinity"
assert repr(Infinity) == "Infinity"


def test_negative_infinity_repr():
repr(NegativeInfinity) == "-Infinity"
assert repr(NegativeInfinity) == "-Infinity"


def test_infinity_hash():
Expand Down