diff options
author | Eric V. Smith <eric@trueblade.com> | 2016-09-03 16:33:38 (GMT) |
---|---|---|
committer | Eric V. Smith <eric@trueblade.com> | 2016-09-03 16:33:38 (GMT) |
commit | 06cf601e4f9ce57d12573943dda90d1ee4330b7a (patch) | |
tree | d3b6a1f37a07d07107b3ecca67506cadb9d60a8d /Lib/test/test_faulthandler.py | |
parent | 7c4e409d075fdb923807513353b18a75a4520eba (diff) | |
download | cpython-06cf601e4f9ce57d12573943dda90d1ee4330b7a.zip cpython-06cf601e4f9ce57d12573943dda90d1ee4330b7a.tar.gz cpython-06cf601e4f9ce57d12573943dda90d1ee4330b7a.tar.bz2 |
Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped.
Diffstat (limited to 'Lib/test/test_faulthandler.py')
-rw-r--r-- | Lib/test/test_faulthandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index fc2d6d7..1ff17bb 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -735,11 +735,11 @@ class FaultHandlerTests(unittest.TestCase): ('EXCEPTION_INT_DIVIDE_BY_ZERO', 'int divide by zero'), ('EXCEPTION_STACK_OVERFLOW', 'stack overflow'), ): - self.check_windows_exception(f""" + self.check_windows_exception(""" import faulthandler faulthandler.enable() faulthandler._raise_exception(faulthandler._{exc}) - """, + """.format(exc=exc), 3, name) |