mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
Issue #15539: Fix a backup file creation in pindent.py on Windows.
This commit is contained in:
parent
5e12bb728f
commit
a3a01b6ac3
2 changed files with 21 additions and 12 deletions
|
@ -58,6 +58,7 @@ class PindentTests(unittest.TestCase):
|
|||
return '\n'.join(line.lstrip() for line in data.splitlines()) + '\n'
|
||||
|
||||
def test_selftest(self):
|
||||
self.maxDiff = None
|
||||
with temp_dir() as directory:
|
||||
data_path = os.path.join(directory, '_test.py')
|
||||
with open(self.script) as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue