mirror of
https://github.com/python/cpython.git
synced 2025-10-24 02:13:49 +00:00
When used in the real world it can under some situations trigger
" assert not _relpath.startswith('..'), "Path must be within the project"
AssertionError: Path must be within the project
"
Because _get_name_from_path was not expecting to be called with the top level
directory.
|
||
|---|---|---|
| .. | ||
| test | ||
| __init__.py | ||
| __main__.py | ||
| case.py | ||
| loader.py | ||
| main.py | ||
| mock.py | ||
| result.py | ||
| runner.py | ||
| signals.py | ||
| suite.py | ||
| util.py | ||