Removed separate test for array tobytes()

This commit is contained in:
Andrew Murray 2023-05-05 17:54:42 +10:00
parent 99fa356d51
commit 04191d15f6

View File

@ -63,17 +63,6 @@ def test_path_constructors(coords):
assert list(p) == [(0.0, 1.0)] assert list(p) == [(0.0, 1.0)]
def test_path_constructor_text():
# Arrange
arr = array.array("f", (0, 1))
# Act
p = ImagePath.Path(arr.tobytes())
# Assert
assert list(p) == [(0.0, 1.0)]
@pytest.mark.parametrize( @pytest.mark.parametrize(
"coords", "coords",
( (