mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Merge pull request #6 from radarhere/imagepath_tests
Removed separate test for array tobytes()
This commit is contained in:
commit
b2a6ca5a1c
|
@ -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",
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue
Block a user