Commit Graph

6 Commits

Author SHA1 Message Date
Serhiy Storchaka 59ea508bb8 Issue #5633: Fixed timeit when the statement is a string and the setup is not. 2015-05-30 19:37:19 +03:00
Serhiy Storchaka 5312a7f912 Avoid deprecation warnings. 2015-01-31 11:27:06 +02:00
Serhiy Storchaka b84e5daf91 Use float division to avoid deprecation warning in test_timeit (issue #11578). 2015-01-31 02:12:17 +02:00
Serhiy Storchaka 09d7e7ec0e Use test.test_support instead of test.support. 2015-01-26 12:30:56 +02:00
Serhiy Storchaka 73c086389a Issue #18518: timeit now rejects statements which can't be compiled outside
a function or a loop (e.g. "return" or "break").
2015-01-26 12:08:37 +02:00
Serhiy Storchaka 0013207200 Issue #11578: Backported test for the timeit module. 2015-01-26 11:54:32 +02:00