Skip to content

Commit f51351e

Browse files
committed
Fix pathlib.Path error
1 parent 96e1074 commit f51351e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setuptools/tests/test_sdist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import logging
1111
import distutils
1212
from inspect import cleandoc
13-
from pathlib import Path
1413
from unittest import mock
1514

1615
import pytest
@@ -117,7 +116,7 @@ def latin1_fail():
117116

118117
def touch(path):
119118
open(path, 'wb').close()
120-
return Path(path)
119+
return path
121120

122121

123122
def symlink_or_skip_test(src, dst):

0 commit comments

Comments
 (0)