Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
393a9424
Commit
393a9424
authored
Jan 02, 2014
by
Zachary Ware
Browse files
Options
Browse Files
Download
Plain Diff
Issue #20101: Merge with 3.3
parents
f7f58f8d
487aedb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Lib/test/test_time.py
Lib/test/test_time.py
+2
-1
No files found.
Lib/test/test_time.py
View file @
393a9424
...
...
@@ -384,7 +384,8 @@ class TimeTestCase(unittest.TestCase):
t2
=
time
.
monotonic
()
dt
=
t2
-
t1
self
.
assertGreater
(
t2
,
t1
)
self
.
assertTrue
(
0.5
<=
dt
<=
1.0
,
dt
)
# Issue #20101: On some Windows machines, dt may be slightly low
self
.
assertTrue
(
0.45
<=
dt
<=
1.0
,
dt
)
# monotonic() is a monotonic but non adjustable clock
info
=
time
.
get_clock_info
(
'monotonic'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment