Skip to content

Commit c86b2d1

Browse files
committed
update utils module modtime assertion in unit test
1 parent 9c4ef89 commit c86b2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def test_get_file_modtime():
1010
modtime = get_file_modtime(os.path.join("tests", "testfiles", "test.txt"))
11-
assert modtime.startswith("2019-09-04T") is True
11+
assert modtime.startswith("2019-09-0") is True
1212
regex = re.compile(r"""\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+-\d{2}:\d{2}""")
1313
assert regex.fullmatch(modtime) is not None
1414

0 commit comments

Comments
 (0)