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 63d55b7 commit f6e6f86Copy full SHA for f6e6f86
setuptools/tests/test_sdist.py
@@ -907,3 +907,12 @@ def run_sdist(monkeypatch, project):
907
archive = next((project / "dist").glob("*.tar.gz"))
908
with tarfile.open(str(archive)) as tar:
909
return set(tar.getnames())
910
+
911
912
+def test_sanity_check_setuptools_own_sdist(setuptools_sdist):
913
+ with tarfile.open(setuptools_sdist) as tar:
914
+ files = tar.getnames()
915
916
+ # setuptools sdist should not include the .tox folder
917
+ tox_files = [name for name in files if ".tox" in name]
918
+ assert len(tox_files) == 0
0 commit comments