From 2a141bc4050a4ccf755429698eb7e22451ff9ce5 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Mon, 10 May 2021 19:19:58 -0600 Subject: [PATCH] No need to turn off coverage as we are actually testing code in question --- wcmatch/pathlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)