https://hg.python.org/cpython/rev/d1c11a78b43a changeset: 99052:d1c11a78b43a parent: 99049:7ef2d85fc1a7 parent: 99051:e259c0ab7a69 user: Serhiy Storchaka <storchaka at gmail.com> date: Tue Nov 10 19:52:20 2015 +0200 summary: Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions. Use time.monotonic instead of time.clock. files: Lib/test/test_email/test_email.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py --- a/Lib/test/test_email/test_email.py +++ b/Lib/test/test_email/test_email.py @@ -3179,7 +3179,7 @@ self.msgids = [] append = self.msgids.append make_msgid = utils.make_msgid - clock = time.clock + clock = time.monotonic tfin = clock() + 3.0 while clock() < tfin: append(make_msgid(domain='testdomain-string')) -- Repository URL: https://hg.python.org/cpython
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4