Skip to content

Commit 898ab1a

Browse files
committed
👹 Feed the hobgoblins (delint).
1 parent 4567089 commit 898ab1a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

setuptools/py311compat.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import sys
22

33

4+
__all__ = ['tomllib']
5+
6+
47
if sys.version_info >= (3, 11):
58
import tomllib
69
else: # pragma: no cover

setuptools/tests/integration/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def run(cmd, env=None):
1616
r = subprocess.run(
1717
cmd,
1818
capture_output=True,
19-
universal_newlines=True,
19+
text=True,
2020
env={**os.environ, **(env or {})},
2121
# ^-- allow overwriting instead of discarding the current env
2222
)

setuptools/tests/test_packageindex.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import sys
21
import distutils.errors
32
import urllib.request
43
import urllib.error

0 commit comments

Comments
 (0)