Skip to content

Commit

Permalink
Merge pull request #6 from radarhere/imagepath_tests
Browse files Browse the repository at this point in the history
Removed separate test for array tobytes()
  • Loading branch information
Yay295 authored May 5, 2023
2 parents 99fa356 + 04191d1 commit b2a6ca5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Tests/test_imagepath.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
(
Expand Down

0 comments on commit b2a6ca5

Please sign in to comment.