Skip to content

Commit

Permalink
remove max_size constraint from track_items in gx_test and update dat…
Browse files Browse the repository at this point in the history
…etime assertion in times_test
  • Loading branch information
cleder committed Nov 3, 2024
1 parent 742f731 commit aaba9bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions tests/hypothesis/gx_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class TestGx(Lxml):
st.none(),
st.lists(
track_items,
max_size=1,
),
),
)
Expand Down Expand Up @@ -113,11 +112,9 @@ def test_fuzz_track_track_items(
st.none(),
st.lists(
track_items,
max_size=1,
),
),
),
max_size=1,
),
),
interpolate=st.one_of(st.none(), st.booleans()),
Expand Down
2 changes: 1 addition & 1 deletion tests/times_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def test_parse_datetime_no_tz(self) -> None:

assert dt
assert dt.resolution == DateTimeResolution.datetime
datetime.datetime(1997, 7, 16, 7, 30, 15, tzinfo=tzutc())
assert dt.dt == datetime.datetime(1997, 7, 16, 7, 30, 15, tzinfo=tzutc())

def test_parse_datetime_empty(self) -> None:
assert KmlDateTime.parse("") is None
Expand Down

0 comments on commit aaba9bb

Please sign in to comment.