summaryrefslogtreecommitdiff
path: root/tests/unit/test_util.py
diff options
context:
space:
mode:
authorBernát Gábor <bgabor8@bloomberg.net>2020-01-03 13:02:06 +0000
committerBernat Gabor <bgabor8@bloomberg.net>2020-01-10 15:38:37 +0000
commitbca1a13e9ffd2e741e604bcf6ef500f60dd349b8 (patch)
tree23325454f99d7ba1369cff2a31aeb89d52baca2d /tests/unit/test_util.py
parentff6dc73d447a3c6276af64df2eb91e2709e450a3 (diff)
downloadvirtualenv-bca1a13e9ffd2e741e604bcf6ef500f60dd349b8.tar.gz
interface compatibility with before rewrite (#1479)
Ensure that what ran with virtualenv 17 will continue running in a post rewrite world minus the deprecated flags, plus the relocatable feature. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Diffstat (limited to 'tests/unit/test_util.py')
-rw-r--r--tests/unit/test_util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_util.py b/tests/unit/test_util.py
index 3ee6399..7eb3dc8 100644
--- a/tests/unit/test_util.py
+++ b/tests/unit/test_util.py
@@ -5,7 +5,8 @@ import os
import pytest
-from virtualenv.util import run_cmd, symlink_or_copy
+from virtualenv.util.path import symlink_or_copy
+from virtualenv.util.subprocess import run_cmd
@pytest.mark.skipif(not hasattr(os, "symlink"), reason="requires symlink support")