Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
hauntsaninja and AlexWaygood authored Sep 5, 2023
commit c94c946326a24164bfc6c74c416438cc638b666d
3 changes: 2 additions & 1 deletion test_cases/stdlib/check_pathlib.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# pyright: strict
from __future__ import annotations

from pathlib import Path

# make sure this causes mypy to emit a --strict-equality error,
# and pyright to report a reportUnnecessaryComparison error
if Path("asdf") == "asdf": # type: ignore
Comment thread
hauntsaninja marked this conversation as resolved.
...