mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
os.symlink is always an attribute in py3
This commit is contained in:
parent
5706b9149c
commit
251721b890
3 changed files with 0 additions and 10 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue