Skip to content

Commit 99e1d32

Browse files
committed
Do not rely on distutils being installed - it is removed in 3.12
1 parent 43fc490 commit 99e1d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_found_module() -> None:
4444
("import ast, pathlib", ["ast", "pathlib"]),
4545
("from pathlib import Path", ["pathlib"]),
4646
("from string import hexdigits", ["string"]),
47-
("import distutils.command.check", ["distutils"]),
47+
("import urllib.request", ["urllib"]),
4848
("import spam", []), # don't break because bad programmer
4949
("from .foo import bar", []), # don't break on relative imports
5050
("from . import baz", []),

0 commit comments

Comments
 (0)