forked from Rust-related/RustPython
less strict time bound for test_re.test_search_anchor_at_beginning
This commit is contained in:
committed by
Jeong, YunWon
parent
8bc5944178
commit
3bbf6b9d53
2
Lib/test/test_re.py
vendored
2
Lib/test/test_re.py
vendored
@@ -2246,7 +2246,7 @@ class ReTests(unittest.TestCase):
|
||||
t = time.perf_counter() - start
|
||||
# Without optimization it takes 1 second on my computer.
|
||||
# With optimization -- 0.0003 seconds.
|
||||
self.assertLess(t, 0.1)
|
||||
self.assertLess(t, 0.2)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
|
||||
Reference in New Issue
Block a user