Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(166)

Unified Diff: Lib/test/test_selectors.py

Issue 22043: Use a monotonic clock to compute timeouts
Patch Set: Created 3 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/telnetlib.py ('k') | Lib/threading.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_selectors.py Sun Aug 31 14:47:56 2014 +0200
+++ b/Lib/test/test_selectors.py Sun Aug 31 15:02:13 2014 +0200
@@ -8,10 +8,7 @@ from test import support
from time import sleep
import unittest
import unittest.mock
-try:
- from time import monotonic as time
-except ImportError:
- from time import time as time
+from time import monotonic as time
try:
import resource
except ImportError:
« no previous file with comments | « Lib/telnetlib.py ('k') | Lib/threading.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7