matrix:
os: [ubuntu-18.04]
# py3.9 is in quick-test
- python-version: [3.7, 3.8, pypy-3.6, pypy-3.7]
+ python-version: [3.7, 3.8, 3.10-dev, pypy-3.6, pypy-3.7]
run-tests-ext: [sh]
include:
# atleast one of the tests must be in windows
fail-fast: true
matrix:
os: [ubuntu-18.04]
- python-version: [3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]
+ python-version: [3.7, 3.8, 3.9, 3.10-dev, pypy-3.6, pypy-3.7]
run-tests-ext: [sh]
include:
- os: windows-latest
return unrecognized
-class LazyList(collections.Sequence):
+class LazyList(collections.abc.Sequence):
''' Lazy immutable list from an iterable
Note that slices of a LazyList are lists and not LazyList'''
def variadic(x, allowed_types=(str, bytes)):
- return x if isinstance(x, collections.Iterable) and not isinstance(x, allowed_types) else (x,)
+ return x if isinstance(x, collections.abc.Iterable) and not isinstance(x, allowed_types) else (x,)