Issue #14428: Make test_process_time_threads() less strict
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py
index 85f8c52..435e0a4 100644
--- a/Lib/test/test_time.py
+++ b/Lib/test/test_time.py
@@ -438,7 +438,8 @@
t2 = time.process_time()
thread.stop = True
thread.join()
- self.assertGreaterEqual(t2 - t1, busy)
+ # Use a factor of 0.75 because time.process_time() is maybe not precise
+ self.assertGreaterEqual(t2 - t1, busy * 0.75)
@unittest.skipUnless(hasattr(time, 'monotonic'),
'need time.monotonic')