Skip to content

Commit 12c4b35

Browse files
committed
in fact, nothing runs without the cpu resource
1 parent a201c26 commit 12c4b35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_xpickle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
has_c_implementation = False
1919

2020
support.requires('xpickle')
21-
if not support.is_resource_enabled('cpu'):
22-
support.print_warning("without 'cpu' resource, many tests won't be run")
21+
support.requires('cpu')
2322

2423
is_windows = sys.platform.startswith('win')
2524

0 commit comments

Comments
 (0)