diff options
author | Victor Stinner <vstinner@python.org> | 2019-11-21 11:54:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 11:54:02 (GMT) |
commit | 0127bb1c5c3286f87e284ff6083133bfdcfd5a4f (patch) | |
tree | b068821349edcb023925f5593dfa05410da585ce /Lib/test | |
parent | 5c534da798eae58eec9ad0601a1c480b271e25a9 (diff) | |
download | cpython-0127bb1c5c3286f87e284ff6083133bfdcfd5a4f.zip cpython-0127bb1c5c3286f87e284ff6083133bfdcfd5a4f.tar.gz cpython-0127bb1c5c3286f87e284ff6083133bfdcfd5a4f.tar.bz2 |
bpo-38875: test_capi: trashcan tests require cpu resource (GH-17314)
test_capi: trashcan tests now require the test "cpu" resource.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_capi.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 2024435..e65973c 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -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) |