Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove backslash in test cases
Co-authored-by: Carl Meyer <[email protected]>
  • Loading branch information
gaogaotiantian and carljm authored Jul 24, 2023
commit eb2ba7a6104c0d5a5b661f8997d77cf9433a8f7d
4 changes: 2 additions & 2 deletions Lib/test/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ def test_class_with_method_from_other_module(self):
with tempfile.TemporaryDirectory() as tempdir:
with open(os.path.join(tempdir, 'inspect_actual%spy' % os.extsep),
'w', encoding='utf-8') as f:
f.write(textwrap.dedent("""\
f.write(textwrap.dedent("""
import inspect_other
class A:
def f(self):
Expand All @@ -981,7 +981,7 @@ def f(self):

with open(os.path.join(tempdir, 'inspect_other%spy' % os.extsep),
'w', encoding='utf-8') as f:
f.write(textwrap.dedent("""\
f.write(textwrap.dedent("""
class A:
def f(self):
pass
Expand Down