Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

gh-134578: Mark more slow tests#134579

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall 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 deletionsLib/test/test_ast/test_ast.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsLib/test/test_capi/test_object.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsLib/test/test_collections.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsLib/test/test_json/test_recursion.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsLib/test/test_statistics.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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

[8]ページ先頭

©2009-2025 Movatter.jp