Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion stdlib/pathlib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class PurePath(PathLike[str]):
def __new__(cls, *args: StrPath) -> Self: ...

def __hash__(self) -> int: ...
def __eq__(self, other: object) -> bool: ...
def __fspath__(self) -> str: ...
def __lt__(self, other: PurePath) -> bool: ...
def __le__(self, other: PurePath) -> bool: ...
Expand Down
7 changes: 7 additions & 0 deletions test_cases/stdlib/check_pathlib.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# pyright: strict
from __future__ import annotations

from pathlib import Path

if Path("asdf") == "asdf": # type: ignore
...