commit 5d5944bbffc1a3d12b54bd478f5a433e79bbe41e
Author: Damian Johnson <[email protected]>
Date: Fri Apr 24 08:32:46 2015 -0700
Installation test used python2 style print statment
Oops, slipped my mind that this was python2 specific.
---
test/integ/installation.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integ/installation.py b/test/integ/installation.py
index 3dfbd27..c500612 100644
--- a/test/integ/installation.py
+++ b/test/integ/installation.py
@@ -27,7 +27,7 @@ class TestInstallation(unittest.TestCase):
if len(site_packages_paths) != 1:
self.fail('We should only have a single site-packages directory, but
instead had: %s' % site_packages_paths)
- self.assertEqual(stem.__version__, stem.util.system.call(['python',
'-c', "import sys;sys.path.insert(0, '%s');import stem;print stem.__version__"
% site_packages_paths[0]])[0])
+ self.assertEqual(stem.__version__, stem.util.system.call(['python',
'-c', "import sys;sys.path.insert(0, '%s');import stem;print(stem.__version__)"
% site_packages_paths[0]])[0])
finally:
shutil.rmtree('/tmp/stem_test')
os.chdir(original_cwd)
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits