Adjust Pixel.__repr__() a tiny bit

This commit is contained in:
Alexander Hess 2021-01-31 19:34:05 +01:00
commit fd404e2b89
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
2 changed files with 3 additions and 3 deletions

View file

@ -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