Skip to content

Commit

Permalink
Fix: Adjust tests for removal of distutils in Python 3.12 (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
perfa committed Oct 26, 2023
1 parent e15df2e commit aa8750c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_pathu.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ def test_get_module_path(self, paths, module, expec_path):
id="import file : local",
),
pytest.param(
"distutils",
Path("distutils/__init__.py"),
"asyncio",
Path("asyncio/__init__.py"),
id="import module : standard",
),
pytest.param(
Expand Down Expand Up @@ -453,9 +453,9 @@ def test_get_import_path(self, module: str, expec_path: Path):
),
pytest.param(
"*",
"distutils",
"asyncio",
0,
Path("distutils/__init__.py"),
Path("asyncio/__init__.py"),
id="from package import * : standard",
),
pytest.param(
Expand Down

0 comments on commit aa8750c

Please sign in to comment.