Skip to content

Commit 79830a8

Browse files
committed
Remove testing dependency on jaraco.text
it depends on pydantic-core which requires rust to work also, takes a few minutes to build.
1 parent c977026 commit 79830a8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

distutils/tests/test_sysconfig.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pytest
99
import jaraco.envs
1010
import path
11-
from jaraco.text import trim
11+
from textwrap import dedent
1212

1313
import distutils
1414
from distutils import sysconfig
@@ -19,6 +19,10 @@
1919
from . import py37compat
2020

2121

22+
def trim(s):
23+
return dedent(s).strip()
24+
25+
2226
@pytest.mark.usefixtures('save_env')
2327
class TestSysconfig:
2428
def test_get_config_h_filename(self):

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ testing =
4040
pytest >= 7.4.3 #186
4141
jaraco.envs>=2.4
4242
jaraco.path
43-
jaraco.text
4443
path
4544
docutils
4645
pyfakefs

0 commit comments

Comments
 (0)