Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
ebab977
1
Parent(s):
f0c64cb
Automatically skip pickling tests
Browse files- test/test.py +4 -0
test/test.py
CHANGED
@@ -349,6 +349,10 @@ class TestMiscellaneous(unittest.TestCase):
|
|
349 |
) # Return early.
|
350 |
check_generator = check_estimator(model, generate_only=True)
|
351 |
for (_, check) in check_generator:
|
|
|
|
|
|
|
|
|
352 |
try:
|
353 |
with warnings.catch_warnings():
|
354 |
warnings.simplefilter("ignore")
|
|
|
349 |
) # Return early.
|
350 |
check_generator = check_estimator(model, generate_only=True)
|
351 |
for (_, check) in check_generator:
|
352 |
+
if "pickle" in check.func.__name__:
|
353 |
+
# Skip pickling tests.
|
354 |
+
continue
|
355 |
+
|
356 |
try:
|
357 |
with warnings.catch_warnings():
|
358 |
warnings.simplefilter("ignore")
|