Skip to content

Commit

Permalink
Remove obsolete tests, update change log (#3063)
Browse files Browse the repository at this point in the history
Follow on to #3013
  • Loading branch information
sgillies committed Apr 9, 2024
1 parent 64b6fe0 commit 4a587a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ Bug fixes:
- Non-strings may once again be used as values of the dtype keyword argument of
rasterize(), fixing a bug introduced in 1.4a1 (#3045).

Other changes:

- Performance of Transformers and rowcol() have been improved by relying more
on NumPy (#3103).

1.4a2 (2024-03-02)
------------------

Expand Down
4 changes: 2 additions & 2 deletions tests/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def test_xy_input(rows, cols, exp_xy, aff):


@pytest.mark.parametrize("aff", [Affine.identity()])
@pytest.mark.parametrize("rows, cols", [([0, 1, 2], [0, 1]), ("0", "0")])
@pytest.mark.parametrize("rows, cols", [([0, 1, 2], [0, 1])])
def test_invalid_xy_input(rows, cols, aff):
"""Raise on invalid input."""
with pytest.raises(TransformError):
Expand Down Expand Up @@ -393,7 +393,7 @@ def test_xy_rowcol_inverse(transform):


@pytest.mark.parametrize("aff", [Affine.identity()])
@pytest.mark.parametrize("xs, ys", [([0, 1, 2], [0, 1]), ("0", "0")])
@pytest.mark.parametrize("xs, ys", [([0, 1, 2], [0, 1])])
def test_invalid_rowcol_input(xs, ys, aff):
"""Raise on invalid input."""
with pytest.raises(TransformError):
Expand Down

0 comments on commit 4a587a5

Please sign in to comment.