Skip to content

Commit 883a80c

Browse files
committed
fromisoformat is not in 3.6
1 parent 1cbc637 commit 883a80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/importapi/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_serialization_optional_values():
3434

3535

3636
def test_serialization_optional_values():
37-
now = datetime.datetime.fromisoformat("2021-01-30T11:21:08")
37+
now = datetime.datetime(2021, 1, 30, 11, 21, 8)
3838
custom = models.Custom(
3939
type=models.TypeKeyReference(key="my-custom-type"),
4040
fields=models.FieldContainer(

0 commit comments

Comments
 (0)