ntor_ref.py: pass only strings to subprocess.Popen

Recent Python3 versions seem to require this on Windows.

Fixes bug 26535; bug introduced in f4be34f70d, which
was apparently intended itself as a Python3 workaround.
This commit is contained in:
Nick Mathewson
2018-07-02 14:04:46 -04:00
parent 1953a7e61d
commit fc5f8b6931
2 changed files with 11 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
o Minor bugfixes (testing, compatibility):
- When running the ntor_ref.py test, make sure only to pass strings
(rather than "bytes" objects) to the Python subprocess module.
Python 3 on Windows seems to require this. Fixes bug 26535; bugfix on
0.2.5.5-alpha.