@@ -665,7 +665,7 @@ def load_json(
665665 ** kwargs ,
666666 )
667667
668- if sys .version_info < (3 , 10 ): # pragma: no cover (< py310)
668+ if sys .version_info < (3 , 10 ): # pragma: no cover (py310+ )
669669
670670 def is_mount (self ) -> bool :
671671 """
@@ -692,7 +692,7 @@ def is_mount(self) -> bool:
692692 parent_ino = self .parent .stat ().st_ino
693693 return ino == parent_ino
694694
695- if sys .version_info < (3 , 8 ): # pragma: no cover (< py38)
695+ if sys .version_info < (3 , 8 ): # pragma: no cover (py38+ )
696696
697697 def rename (self : _P , target : Union [str , pathlib .PurePath ]) -> _P : # type: ignore
698698 """
@@ -750,7 +750,7 @@ def unlink(self, missing_ok: bool = False) -> None:
750750 if not missing_ok :
751751 raise
752752
753- if sys .version_info < (3 , 9 ): # pragma: no cover (< py39)
753+ if sys .version_info < (3 , 9 ): # pragma: no cover (py39+ )
754754
755755 def __enter__ (self ):
756756 return self
@@ -851,7 +851,7 @@ def from_uri(cls: Type[_PP], uri: str) -> _PP:
851851 if parseresult .params or parseresult .query or parseresult .fragment :
852852 raise ValueError ("Malformed file URI" )
853853
854- if sys .platform == "win32" :
854+ if sys .platform == "win32" : # pragma: no cover (!Windows)
855855
856856 if parseresult .netloc :
857857 path = '' .join ([
@@ -862,7 +862,7 @@ def from_uri(cls: Type[_PP], uri: str) -> _PP:
862862 else :
863863 path = urllib .parse .unquote_to_bytes (parseresult .path ).decode ("UTF-8" ).lstrip ('/' )
864864
865- else :
865+ else : # pragma: no cover (Windows)
866866 if parseresult .netloc :
867867 raise ValueError ("Malformed file URI" )
868868
0 commit comments