Skip to content

Test failure under Python 3.7 #185

@felixonmars

Description

@felixonmars
======================================================================
ERROR: test_entry_point_type_error (tests.test_opener.TestRegistry)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-fs/src/pyfilesystem2-2.0.24/tests/test_opener.py", line 213, in test_entry_point_type_error
    opener.open_fs('test://')
  File "/build/python-fs/src/pyfilesystem2-2.0.24/fs/opener/registry.py", line 192, in open_fs
    default_protocol=default_protocol
  File "/build/python-fs/src/pyfilesystem2-2.0.24/fs/opener/registry.py", line 147, in open
    opener = self.get_opener(protocol)
  File "/build/python-fs/src/pyfilesystem2-2.0.24/fs/opener/registry.py", line 97, in get_opener
    if not isinstance(opener, object) or not issubclass(opener, Opener):
  File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__
    return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class

----------------------------------------------------------------------
Ran 1350 tests in 7.726s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions