Kaydet (Commit) 9665cca1 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.

Use time.time instead of time.clock.
üst f64ccb9a
......@@ -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())
......
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