We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32537ff commit 57ee9b7Copy full SHA for 57ee9b7
test/conversions/iso8601_test.py
@@ -410,6 +410,11 @@ def test_bad_iso_to_timedelta(self):
410
# used '#' instead of '-'
411
make_datetime('2014-06-19T17:03#17.361077-05:00')
412
413
+ with self.assertRaises(ValueError):
414
+ # naive timestamps raise ValueError
415
+ make_datetime('2014-06-19T16:40:22.293913')
416
+
417
418
def test_bad_timedelta_to_iso(self):
419
with self.assertRaises(AssertionError):
420
jsonify_datetime('2014-06-19T17:03:17.361077-05:00')
0 commit comments