Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 483be2d commit deb3e5a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/test_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,7 @@ def test_polygon_1(self) -> None:
(2.0, 3.0),
(2.0, 2.0),
)
assert (
p.wkt == "POLYGON ((1 1, 5 1, 5 5, "
"1 5, 1 1),(2 2, 3 2, "
"3 3, 2 3, 2 2))"
)
assert p.wkt == "POLYGON ((1 1, 5 1, 5 5, 1 5, 1 1),(2 2, 3 2, 3 3, 2 3, 2 2))"

def test_polygon_2(self) -> None:
p = factories.from_wkt("POLYGON ((30 10, 10 20, 20 40, 40 40, 30 10))")
Expand Down Expand Up @@ -389,11 +385,7 @@ def test_multilinestring(self) -> None:
assert isinstance(p, geometry.MultiLineString)
assert next(iter(p.geoms)).coords == ((3, 4), (10, 50), (20, 25))
assert list(p.geoms)[1].coords == ((-5, -8), (-10, -8), (-15, -4))
assert (
p.wkt == "MULTILINESTRING ((3 4, 10 50, "
"20 25),(-5 -8, "
"-10 -8, -15 -4))"
)
assert p.wkt == "MULTILINESTRING ((3 4, 10 50, 20 25),(-5 -8, -10 -8, -15 -4))"

def test_multilinestring_1(self) -> None:
p = factories.from_wkt(
Expand Down

0 comments on commit deb3e5a

Please sign in to comment.