Test do not pass with Python3 #93

anatol opened this Issue Dec 15, 2012 · 1 comment


None yet

2 participants


Tup tests use some amount of Python code.

On Linux Arch I use python3 as alias to python and the test are failing

--- Run t2097-run7.sh --- 
 *** tup: stderr from command 'PYTHONPATH=../.. python -B foo.py' ***
  File "foo.py", line 4
    print ": |> echo None |>"
SyntaxError: invalid syntax
tup error: run-script exited with failure code: 1

One solution is to fix places where "python" is used to "python2". I think most distributives provide this binary as well. Or even better is to change python code to conform both python2 and python3.

@gittup gittup closed this Sep 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment