Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.

Use time.time instead of time.clock.
This commit is contained in:
Serhiy Storchaka 2015-11-10 19:53:37 +02:00
parent f64ccb9acf
commit 9665cca16d
1 changed files with 1 additions and 1 deletions

View File

@ -2424,7 +2424,7 @@ Foo
self.msgids = []
append = self.msgids.append
make_msgid = Utils.make_msgid
clock = time.clock
clock = time.time
tfin = clock() + 3.0
while clock() < tfin:
append(make_msgid())