We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a64af1 commit f66df83Copy full SHA for f66df83
Lib/test/test_re.py
@@ -1,7 +1,7 @@
1
from test.support import (gc_collect, bigmemtest, _2G,
2
cpython_only, captured_stdout,
3
check_disallow_instantiation, is_emscripten, is_wasi,
4
- SHORT_TIMEOUT)
+ SHORT_TIMEOUT, requires_resource)
5
import locale
6
import re
7
import string
@@ -2233,6 +2233,7 @@ def test_bug_40736(self):
2233
with self.assertRaisesRegex(TypeError, "got 'type'"):
2234
re.search("x*", type)
2235
2236
+ @requires_resource('cpu')
2237
def test_search_anchor_at_beginning(self):
2238
s = 'x'*10**7
2239
start = time.perf_counter()
0 commit comments