commit | a3a01b6ac3990ddd662b4bcf7de29050bd15c651 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Jan 11 22:18:17 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Fri Jan 11 22:18:17 2013 +0200 |
tree | 5a9846c30d96dfa5c017cfe9d90bf82a3357ca27 | |
parent | 5e12bb728fd82476c38d824f53834438f7358089 [diff] |
Issue #15539: Fix a backup file creation in pindent.py on Windows.
diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py index 4b33733..9403da7 100644 --- a/Lib/test/test_tools.py +++ b/Lib/test/test_tools.py
@@ -58,6 +58,7 @@ 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: