summaryrefslogtreecommitdiff
path: root/tests/unit/create
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-05-01 17:08:23 -0700
committerGitHub <noreply@github.com>2020-05-02 01:08:23 +0100
commit3dfa4fde5c8f744262331cee172bda2b0e870507 (patch)
tree37db1576bd37ff5af83917879fb14f7ca765c182 /tests/unit/create
parentbb7bb71ab7c207215aed48a55091262bbfe8642e (diff)
downloadvirtualenv-3dfa4fde5c8f744262331cee172bda2b0e870507.tar.gz
make test discovery more deterministic (#1802)
Diffstat (limited to 'tests/unit/create')
-rw-r--r--tests/unit/create/test_creator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/create/test_creator.py b/tests/unit/create/test_creator.py
index 969e573..af88adb 100644
--- a/tests/unit/create/test_creator.py
+++ b/tests/unit/create/test_creator.py
@@ -395,7 +395,7 @@ def test_create_long_path(current_fastest, tmp_path):
subprocess.check_call([str(result.creator.script("pip")), "--version"])
-@pytest.mark.parametrize("creator", set(PythonInfo.current_system().creators().key_to_class) - {"builtin"})
+@pytest.mark.parametrize("creator", sorted(set(PythonInfo.current_system().creators().key_to_class) - {"builtin"}))
def test_create_distutils_cfg(creator, tmp_path, monkeypatch):
result = cli_run([ensure_text(str(tmp_path / "venv")), "--activators", "", "--creator", creator])