Skip to content

Commit be78b2b

Browse files
author
Martin Durant
committed
Skip on py35 (should not be able to install fsspec there)
1 parent 58aecc7 commit be78b2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zarr/tests/util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# -*- coding: utf-8 -*-
22
import collections
3+
from distutils.version import LooseVersion
34
from collections.abc import MutableMapping
45
import os
6+
import sys
57

68
import pytest
79

@@ -50,6 +52,6 @@ def skip_test_env_var(name):
5052

5153
try:
5254
import fsspec # noqa: F401
53-
have_fsspec = True
55+
have_fsspec = LooseVersion(sys.version) >= LooseVersion("3.6")
5456
except ImportError:
5557
have_fsspec = False

0 commit comments

Comments
 (0)