We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
====================================================================== FAIL: test_write_filtered_python_package (test.test_zipfile.test_core.PyZipFileTests.test_write_filtered_python_package) ---------------------------------------------------------------------- Traceback (most recent call last): File "/workspace/cpython/Lib/test/test_zipfile/test_core.py", line 1240, in test_write_filtered_python_package self.assertTrue('SyntaxError' not in reportStr) AssertionError: False is not true ---------------------------------------------------------------------- Ran 287 tests in 17.715s FAILED (failures=1, skipped=4) test test_zipfile failed test_zipfile failed (1 failure) == Tests result: FAILURE == 1 test failed: test_zipfile Total duration: 17.9 sec Tests result: FAILURE
test_fstring
The text was updated successfully, but these errors were encountered:
Starts from 1ef61cf
Also fails for
./python -We -m test test_fstring
This is due to a syntax warning raised on an invalid escape sequence \{ \}. It's a syntax error in -We.
\{
\}
-We
Related Issue: #103786
Should be fixed by something like
self.assertEqual(f'\{{\}}', '\\{\\}')
->
with warnings.catch_warnings(record=True): self.assertEqual(eval(r"f'\{{\}}'"), '\\{\\}')
A helper function should be added here to assert the warning is raised.
Sorry, something went wrong.
Merge branch 'main' into pythongh-104089
c1cdec3
gh-104089: catch DeprecationWarning in test_fstring (#104137)
83751bb
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Successfully merging a pull request may close this issue.
Bug report
Your environment
Linked PRs
test_fstring
#104137The text was updated successfully, but these errors were encountered: