mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-38875: test_capi: trashcan tests require cpu resource (GH-17314)
test_capi: trashcan tests now require the test "cpu" resource.
This commit is contained in:
parent
5c534da798
commit
0127bb1c5c
2 changed files with 3 additions and 0 deletions
|
@ -351,9 +351,11 @@ class CAPITest(unittest.TestCase):
|
|||
for i in range(1000):
|
||||
L = MyList((L,))
|
||||
|
||||
@support.requires_resource('cpu')
|
||||
def test_trashcan_python_class1(self):
|
||||
self.do_test_trashcan_python_class(list)
|
||||
|
||||
@support.requires_resource('cpu')
|
||||
def test_trashcan_python_class2(self):
|
||||
from _testcapi import MyList
|
||||
self.do_test_trashcan_python_class(MyList)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
test_capi: trashcan tests now require the test "cpu" resource.
|
Loading…
Add table
Add a link
Reference in a new issue