sympy/sympy-python27.patch

14 lines
555 B
Diff

diff --git a/sympy/utilities/runtests.py b/sympy/utilities/runtests.py
index 65f870a..6aaf935 100644
--- a/sympy/utilities/runtests.py
+++ b/sympy/utilities/runtests.py
@@ -779,7 +779,7 @@ class PyTestReporter(Reporter):
self.write_center("test process starts")
executable = sys.executable
v = sys.version_info
- python_version = "%s.%s.%s-%s-%s" % v
+ python_version = "%s.%s.%s-%s-%s" % tuple(v)
self.write("executable: %s (%s)\n\n" % (executable, python_version))
self._t_start = clock()