Permalink
Browse files

Updated

  • Loading branch information...
1 parent 5138202 commit 6d96f23edcdcc70f1c508e8ec2ee44cf1d86d0fd Alvaro committed Nov 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/test_timer.py
View
3 tests/test_timer.py
@@ -39,7 +39,7 @@ def test_copy (self):
t = timer.Timer(0, lambda: None)
t2 = t.copy()
assert t.seconds == t2.seconds
- assert t.tpl == t2.tpl
+ assert t.callback == t2.callback
assert t.called == t2.called
def test_schedule (self):
@@ -50,6 +50,7 @@ def test_schedule (self):
hub.abort()
evy.sleep(0)
called = []
+
#t = timer.Timer(0, lambda: (called.append(True), hub.abort()))
#t.schedule()
# let's have a timer somewhere in the future; make sure abort() still works

0 comments on commit 6d96f23

Please sign in to comment.