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 f61e452 commit 0c804aaCopy full SHA for 0c804aa
setuptools/tests/test_develop.py
@@ -3,6 +3,7 @@
3
import os
4
import sys
5
import subprocess
6
+import pathlib
7
import platform
8
9
from setuptools.command import test
@@ -82,6 +83,18 @@ def test_console_scripts(self, tmpdir):
82
83
cmd.run()
84
# assert '0.0' not in foocmd_text
85
86
+ @pytest.mark.xfail(reason="legacy behavior retained for compatibility #4167")
87
+ def test_egg_link_filename(self):
88
+ settings = dict(
89
+ name='Foo $$$ Bar_baz-bing',
90
+ )
91
+ dist = Distribution(settings)
92
+ cmd = develop(dist)
93
+ cmd.ensure_finalized()
94
+ link = pathlib.Path(cmd.egg_link)
95
+ assert link.suffix == '.egg-link'
96
+ assert link.stem == 'Foo_Bar_baz_bing'
97
+
98
99
class TestResolver:
100
"""
0 commit comments