emami at knmi.nl
Wed Jun 8 13:48:30 CEST 2005
I would like to learn how does work the "unit test" concept in Python. I
have try the 'romantest.py' of the "Dive in Python" book and I get the
Traceback (most recent call last):
File "romantest.py", line 153, in ?
File "/usr/lib/python2.3/unittest.py", line 721, in __init__
File "/usr/lib/python2.3/unittest.py", line 758, in runTests
result = self.testRunner.run(self.test)
File "/usr/lib/python2.3/unittest.py", line 657, in run
startTime = time.time()
AttributeError: 'module' object has no attribute 'time'
I can't understand it! Would somebody tell me how I can solve this
More information about the Python-list