os.symlink is always an attribute in py3

This commit is contained in:
Anthony Sottile 2020-01-12 12:30:40 -08:00
parent 5706b9149c
commit 251721b890
3 changed files with 0 additions and 10 deletions

View file

@ -45,12 +45,6 @@ xfailif_windows_no_ruby = pytest.mark.xfail(
xfailif_windows = pytest.mark.xfail(os.name == 'nt', reason='windows')
xfailif_no_symlink = pytest.mark.xfail(
not hasattr(os, 'symlink'),
reason='Symlink is not supported on this platform',
)
def supports_venv(): # pragma: no cover (platform specific)
try:
__import__('ensurepip')