File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ def test_bad_timedelta_to_iso(self):
184184 jsonify_timedelta ('PT12H' )
185185
186186 with self .assertRaises (AssertionError ):
187- jsonify_datetime ('2014-06-19T17:03:17.361077-05:00' )
187+ jsonify_timedelta ('2014-06-19T17:03:17.361077-05:00' )
188188
189189 with self .assertRaises (AssertionError ):
190190 jsonify_timedelta (('bad' , 'stuff' ))
@@ -392,7 +392,7 @@ def test_datetime_to_iso(self):
392392 jsonify_datetime (pair [1 ]),
393393 )
394394
395- def test_bad_iso_to_timedelta (self ):
395+ def test_bad_iso_to_datetime (self ):
396396 with self .assertRaises (ValueError ):
397397 make_datetime ('' )
398398
@@ -414,8 +414,7 @@ def test_bad_iso_to_timedelta(self):
414414 # naive timestamps raise ValueError
415415 make_datetime ('2014-06-19T16:40:22.293913' )
416416
417-
418- def test_bad_timedelta_to_iso (self ):
417+ def test_bad_datetime_to_iso (self ):
419418 with self .assertRaises (AssertionError ):
420419 jsonify_datetime ('2014-06-19T17:03:17.361077-05:00' )
421420
You can’t perform that action at this time.
0 commit comments