Adjust Pixel.__repr__() a tiny bit
This commit is contained in:
parent
63e8e94145
commit
fd404e2b89
2 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ class TestSpecialMethods:
|
|||
"""`Pixel` has a non-literal text representation."""
|
||||
result = repr(pixel)
|
||||
|
||||
assert result == f'<Pixel: ({pixel.n_x}, {pixel.n_y})>'
|
||||
assert result == f'<Pixel: ({pixel.n_x}|{pixel.n_y})>'
|
||||
|
||||
|
||||
@pytest.mark.db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue