nose-progressive
nose-progressive copied to clipboard
Python3 issue with raw_input
Hi,
I'm using nose-progressive in a python3 project. When trying to debug a failing test, I had an issue having raw_input
not existing. This is happening in the wrapping module.
The simple solution to support both py2 and py3 is to add the following:
# compatibility with python3
if sys.version_info.major == 3:
builtins.raw_input = builtins.input
after the imports.
cf referenced ticket, there I suggest a patch. The fix does work for me.