Skip to content

Commit

Permalink
less strict time bound for test_re.test_search_anchor_at_beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Sep 10, 2024
1 parent 8bc5944 commit 3bbf6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_re.py
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ def test_search_anchor_at_beginning(self):
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
Expand Down

0 comments on commit 3bbf6b9

Please sign in to comment.