nose-progressive icon indicating copy to clipboard operation
nose-progressive copied to clipboard

Python3 issue with raw_input

Open guyzmo opened this issue 9 years ago • 1 comments

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.

guyzmo avatar Nov 25 '14 12:11 guyzmo