Differences From Artifact [5baa66cc41]:
- File test.py — part of check-in [bfe3da6658] at 2010-10-14 14:23:33 on branch master — first version (user: c.kworr@f767742a-4495-3fff-757e-17af2457c78a, size: 1569) [annotate] [blame] [check-ins using]
To Artifact [9cc8316bf6]:
- File test.py — part of check-in [886158fbf4] at 2011-12-19 09:27:51 on branch master — python 2.7 support, simpler conditionals (user: c.kworr@f767742a-4495-3fff-757e-17af2457c78a, size: 1657) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 | def test(): def check(desc, correct, result): if correct == result: print('PASSED:', desc, '==' , result, '==', correct) else: print('FAILED:', desc, '==' , result, '!=', correct) | > > > > | 1 2 3 4 5 6 7 8 9 10 11 | from __future__ import print_function, unicode_literals from spacemap import SpaceMap def test(): def check(desc, correct, result): if correct == result: print('PASSED:', desc, '==' , result, '==', correct) else: print('FAILED:', desc, '==' , result, '!=', correct) |
︙ | ︙ |