mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user