Skip to content

Commit 0606d34

Browse files
Tets pickle on versions higher than 3.6
1 parent e5a0136 commit 0606d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_api/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_classification(openml_id, resampling_strategy, backend):
164164
# Test pickle
165165
# This can happen on python greater than 3.6
166166
# as older python do not control the state of the logger
167-
if sys.version_info > (3, 6):
167+
if sys.version_info >= (3, 7):
168168
dump_file = os.path.join(estimator._backend.temporary_directory, 'dump.pkl')
169169

170170
with open(dump_file, 'wb') as f:

0 commit comments

Comments
 (0)