summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-01-11 20:18:17 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-01-11 20:18:17 (GMT)
commita3a01b6ac3990ddd662b4bcf7de29050bd15c651 (patch)
tree5a9846c30d96dfa5c017cfe9d90bf82a3357ca27 /Lib/test
parent5e12bb728fd82476c38d824f53834438f7358089 (diff)
downloadcpython-a3a01b6ac3990ddd662b4bcf7de29050bd15c651.zip
cpython-a3a01b6ac3990ddd662b4bcf7de29050bd15c651.tar.gz
cpython-a3a01b6ac3990ddd662b4bcf7de29050bd15c651.tar.bz2
Issue #15539: Fix a backup file creation in pindent.py on Windows.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_tools.py1
1 files changed, 1 insertions, 0 deletions
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 @@ 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: