Commit 9665cca1 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.

Use time.time instead of time.clock.
parent f64ccb9a
...@@ -2424,7 +2424,7 @@ Foo ...@@ -2424,7 +2424,7 @@ Foo
self.msgids = [] self.msgids = []
append = self.msgids.append append = self.msgids.append
make_msgid = Utils.make_msgid make_msgid = Utils.make_msgid
clock = time.clock clock = time.time
tfin = clock() + 3.0 tfin = clock() + 3.0
while clock() < tfin: while clock() < tfin:
append(make_msgid()) append(make_msgid())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment