Merge pull request #6 from radarhere/imagepath_tests

Removed separate test for array tobytes()
This commit is contained in:
Yay295 2023-05-05 10:11:32 -05:00 committed by GitHub
commit b2a6ca5a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,17 +63,6 @@ def test_path_constructors(coords):
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(
"coords",
(