Skip to content

Commit

Permalink
Silence type warnings.
Browse files Browse the repository at this point in the history
We are explicitly testing passing the wrong type here, so want this to be incorrect.
  • Loading branch information
tonyandrewmeyer committed Sep 22, 2023
1 parent c4e3266 commit 8e1ba55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_private.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def test_parse_rfc3339(self):

with self.assertRaises(ValueError):
timeconv.parse_rfc3339(
timeconv.parse_rfc3339('2021-02-10T04:36:22.118970777x'))
timeconv.parse_rfc3339('2021-02-10T04:36:22.118970777x')) # type: ignore

with self.assertRaises(ValueError):
timeconv.parse_rfc3339(
timeconv.parse_rfc3339('2021-02-10T04:36:22.118970777-99:99'))
timeconv.parse_rfc3339('2021-02-10T04:36:22.118970777-99:99')) # type: ignore

0 comments on commit 8e1ba55

Please sign in to comment.