diff --git a/wcmatch/pathlib.py b/wcmatch/pathlib.py index e2d573e..5275784 100644 --- a/wcmatch/pathlib.py +++ b/wcmatch/pathlib.py @@ -78,7 +78,7 @@ def __new__(cls, *args, **kwargs): if cls is Path: cls = WindowsPath if os.name == 'nt' else PosixPath - if util.PY310: # pragma: no cover + if util.PY310: self = cls._from_parts(args) else: self = cls._from_parts(args, init=False)