• Michael Pratt's avatar
    Support Python 2 and 3 in test script · e9ccadeb
    Michael Pratt authored
    Add Python 3 support to the Python test.py script.
    
    The print function is used in place of the print statement.
    
    The urlopen function has been moved to urllib.request in Python 3, so
    attempt to import it from either location.
    
    TestCase.assert_() has been deprecated in place of
    TestCase.assertTrue().
    
    The tests all pass in both Python 2 and 3.
    e9ccadeb
Name
Last commit
Last update
..
python2 Loading commit data...
python3 Loading commit data...
src2 Loading commit data...
test Loading commit data...
CMakeLists.txt Loading commit data...
common.cmake Loading commit data...