From 39aa7ed50e26d77a4a277fa525add44b6f7b3bcd Mon Sep 17 00:00:00 2001
From: Paul Moore
Date: Tue, 18 Jul 2023 21:00:11 +0100
Subject: [PATCH] Fix a direct creation of RequirementPreparer in the tests
---
tests/unit/test_req.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/unit/test_req.py b/tests/unit/test_req.py
index 74b9712dc03..545828f8eea 100644
--- a/tests/unit/test_req.py
+++ b/tests/unit/test_req.py
@@ -105,6 +105,7 @@ def _basic_resolver(
use_user_site=False,
lazy_wheel=False,
verbosity=0,
+ legacy_resolver=True,
)
yield Resolver(
preparer=preparer,