Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Lib/test/test_time.py
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
picnixz and vstinner authored Jan 13, 2025
commit bd899c6492f032ac63bfa627d56acb5731948c92
2 changes: 1 addition & 1 deletion Lib/test/test_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def test_sleep_exceptions(self):
self.assertRaises(ValueError, time.sleep, -0.1)

def test_sleep(self):
for value in [-0.0, 0, 0.0, 1e-6, 1, 1.2]:
for value in [-0.0, 0, 0.0, 1e-100, 1e-9, 1e-6, 1, 1.2]:
with self.subTest(value=value):
time.sleep(value)

Expand Down