Skip to content

Commit 8206f61

Browse files
committed
test: fix match when 3.15 produces better diagnostic. (second case)
1 parent 6c0717f commit 8206f61

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/test_cgi.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,10 +3791,7 @@ def testExpandfile(self):
37913791
r"^Found an incorrect token when expandfile applied "
37923792
r"string subsitution on "
37933793
r"'[^']*[\\/]_test_template[\\/]html[\\/]file_with_bare_%.js'. "
3794-
r"ValueError\("
3795-
r"'unsupported format character ' ' \(0x20\) at index 12'\) was "
3796-
r"raised. Check the format "
3797-
r"of your named conversion specifiers."))
3794+
r"ValueError\("))
37983795
self._caplog.clear()
37993796
r = None
38003797

0 commit comments

Comments
 (0)