Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.14] gh-134578: Mark more slow tests (GH-134579) #134590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions 1 Lib/test/test_ast/test_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,7 @@ def check_output(self, source, expect, *flags):
expect = self.text_normalize(expect)
self.assertEqual(res, expect)

@support.requires_resource('cpu')
def test_invocation(self):
# test various combinations of parameters
base_flags = (
Expand Down
1 change: 1 addition & 0 deletions 1 Lib/test/test_capi/test_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def test_decref_freed_object(self):
"""
self.check_negative_refcount(code)

@support.requires_resource('cpu')
def test_decref_delayed(self):
# gh-130519: Test that _PyObject_XDecRefDelayed() and QSBR code path
# handles destructors that are possibly re-entrant or trigger a GC.
Expand Down
2 changes: 2 additions & 0 deletions 2 Lib/test/test_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,8 @@ def test_odd_sizes(self):
self.assertEqual(Dot(1)._replace(d=999), (999,))
self.assertEqual(Dot(1)._fields, ('d',))

@support.requires_resource('cpu')
def test_large_size(self):
n = support.exceeds_recursion_limit()
names = list(set(''.join([choice(string.ascii_letters)
for j in range(10)]) for i in range(n)))
Expand Down
1 change: 1 addition & 0 deletions 1 Lib/test/test_json/test_recursion.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def test_highly_nested_objects_decoding(self):

@support.skip_wasi_stack_overflow()
@support.skip_emscripten_stack_overflow()
@support.requires_resource('cpu')
def test_highly_nested_objects_encoding(self):
# See #12051
l, d = [], {}
Expand Down
1 change: 1 addition & 0 deletions 1 Lib/test/test_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2346,6 +2346,7 @@ def test_mixed_int_and_float(self):

class TestKDE(unittest.TestCase):

@support.requires_resource('cpu')
def test_kde(self):
kde = statistics.kde
StatisticsError = statistics.StatisticsError
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.