Skip to content

Commit f4a6114

Browse files
committed
refix regex pattern
1 parent 3618152 commit f4a6114

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lambdas/shared/tests/test_common/test_converter_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_too_short_raises(self):
1616
timestamp_to_rfc3339("20260212T1744")
1717

1818
def test_output_is_rfc3339(self):
19-
rfc3339 = re.compile(r"^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}(Z|[+-]\d{2}:\d{2})$")
19+
rfc3339 = re.compile(r"^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(Z|[+-]\d{2}:\d{2})$")
2020
self.assertRegex(timestamp_to_rfc3339("20260212T17443700"), rfc3339)
2121

2222
def test_non_string_raises_type_error(self):

0 commit comments

Comments
 (0)