mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
`PurePathBase` does not define `__eq__()`, and so we have no business checking path equality in `test_eq_common` and `test_equivalences`. The tests only pass at the moment because we define the test class's `__eq__()` for use elsewhere. Also move `test_parse_path_common` into the main pathlib test suite. It exercises a private `_parse_path()` method that will be moved to `PurePath` soon. Lastly move a couple more tests concerned with optimisations and path normalisation. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_pathlib.py | ||
| test_pathlib_abc.py | ||