[issue8687] sched.py module doesn't have a test suite

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Committed as r83707 without including the mock time tests for now. I'll see whether I can manage to write them at a later time. -- resolution: -> fixed status: open -> closed versions: -Python 2.7 ___ Python tra

[issue8687] sched.py module doesn't have a test suite

2010-05-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- assignee: -> giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8687] sched.py module doesn't have a test suite

2010-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I agree. Are you recommending to take advantage of this and change the > tests in some way? Yes, it would allow you to check that if you have e.g. : - A scheduled in 1 s - B scheduled in 3 s sched.py first sleeps for 1 s, then calls A, then sleeps for 2 s, t

[issue8687] sched.py module doesn't have a test suite

2010-05-12 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I agree. Are you recommending to take advantage of this and change the tests in some way? -- ___ Python tracker ___

[issue8687] sched.py module doesn't have a test suite

2010-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: You know, one benefit of having user-settable sleep() and time() functions is that you can mock them easily, and therefore check that sched.py really schedules callables at the right intervals. -- ___ Python tracke

[issue8687] sched.py module doesn't have a test suite

2010-05-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch in attachment. -- keywords: +patch Added file: http://bugs.python.org/file17296/test_sched.patch ___ Python tracker ___ ___

[issue8687] sched.py module doesn't have a test suite

2010-05-11 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : sched.py module is currently lacking a test suite. Possibly this should be resolved before fixing issue 8684. -- components: Tests messages: 105503 nosy: giampaolo.rodola, josiah.carlson, josiahcarlson, pitrou priority: normal severity: normal stat