comparison python/tests/storage.txt @ 998:933670761a57

updated code to python 3 (tests pass and scripts run, but non-executed parts of code are probably still not correct)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sun, 27 May 2018 23:22:48 -0400
parents c030f735c594
children
comparison
equal deleted inserted replaced
997:4f3387a242a1 998:933670761a57
1 >>> from storage import * 1 >>> from storage import *
2 >>> from StringIO import StringIO 2 >>> from io import StringIO
3 >>> from moving import MovingObject, Point, TimeInterval, Trajectory, prepareSplines 3 >>> from moving import MovingObject, Point, TimeInterval, Trajectory, prepareSplines
4 4
5 >>> f = openCheck('non_existant_file.txt') 5 >>> f = openCheck('non_existant_file.txt')
6 File non_existant_file.txt could not be opened. 6 File non_existant_file.txt could not be opened.
7 7