• 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
..
calchist.py Loading commit data...
camera_calibration.py Loading commit data...
findstereocorrespondence.py Loading commit data...
goodfeatures.py Loading commit data...
leak1.py Loading commit data...
leak2.py Loading commit data...
leak3.py Loading commit data...
leak4.py Loading commit data...
precornerdetect.py Loading commit data...
test.py Loading commit data...
ticket_6.py Loading commit data...
tickets.py Loading commit data...
transformations.py Loading commit data...