summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-04 16:55:59 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-04 16:55:59 +0200
commitdb1ba4eeac9ac664847caa51189c123707ae1806 (patch)
tree8a45d17f6cbd656660b4b50b3a3d48022be336af /Lib/test
parentb3f194d10951d5c23af885c6d55c45dfb0db0666 (diff)
downloadcpython-git-db1ba4eeac9ac664847caa51189c123707ae1806.tar.gz
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py
index 9403da71fb..006220a3d4 100644
--- a/Lib/test/test_tools.py
+++ b/Lib/test/test_tools.py
@@ -50,7 +50,7 @@ class PindentTests(unittest.TestCase):
(sys.executable, self.script) + args,
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
universal_newlines=True) as proc:
- out, err = proc.communicate(source.encode())
+ out, err = proc.communicate(source)
self.assertIsNone(err)
return out