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 c86b2d1 commit e6cdb23Copy full SHA for e6cdb23
tests/test_utils.py
@@ -9,7 +9,7 @@
9
def test_get_file_modtime():
10
modtime = get_file_modtime(os.path.join("tests", "testfiles", "test.txt"))
11
assert modtime.startswith("2019-09-0") is True
12
- regex = re.compile(r"""\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+-\d{2}:\d{2}""")
+ regex = re.compile(r"""\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+[-+]\d{2}:\d{2}""")
13
assert regex.fullmatch(modtime) is not None
14
15
0 commit comments