mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 16:24:11 +03:00
Removed separate test for array tobytes()
This commit is contained in:
parent
99fa356d51
commit
04191d15f6
|
@ -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",
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user