We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a826df6 commit 3b86d4bCopy full SHA for 3b86d4b
distutils/tests/test_extension.py
@@ -1,8 +1,8 @@
1
"""Tests for distutils.extension."""
2
3
import os
4
+import pathlib
5
import warnings
-from pathlib import Path
6
7
from distutils.extension import Extension, read_setup_file
8
@@ -77,7 +77,7 @@ def test_extension_init(self):
77
Extension('name', ['file', 1])
78
ext = Extension('name', ['file1', 'file2'])
79
assert ext.sources == ['file1', 'file2']
80
- ext = Extension('name', [Path('file1'), Path('file2')])
+ ext = Extension('name', [pathlib.Path('file1'), pathlib.Path('file2')])
81
82
83
# others arguments have defaults
0 commit comments