Closed MatthieuBizien closed 9 years ago
Example:
In [3]:x=1
AssertionError Traceback (most recent call last) C:\Users\mbz.ipython\extensions\autotime.py in stop(self) 23 if self.start_time: 24 diff = time.time() - self.start_time ---> 25 assert diff > 0 26 print('time: %s' % format_delta(diff)) 27
AssertionError:
Well, it already had a pull request...
Example:
In [3]:x=1
Error in callback <bound method LineWatcher.stop of <autotime.LineWatcher object at 0x0000000004445F28>> (for post_run_cell):
AssertionError Traceback (most recent call last) C:\Users\mbz.ipython\extensions\autotime.py in stop(self) 23 if self.start_time: 24 diff = time.time() - self.start_time ---> 25 assert diff > 0 26 print('time: %s' % format_delta(diff)) 27
AssertionError: