Skip to content

Commit 1e68d9c

Browse files
committed
Add missing test
1 parent d7536d4 commit 1e68d9c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/unit/resolution_resolvelib/test_provider.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ def build_req_info(
9696
{},
9797
(False, True, False, math.inf, False, "upper-bound-lte-package"),
9898
),
99+
# Upper bounded with < operator
100+
(
101+
"upper-bound-lt-package",
102+
{"upper-bound-lt-package": [build_req_info("upper-bound-lt-package<2.0")]},
103+
[],
104+
{},
105+
(False, True, False, math.inf, False, "upper-bound-lt-package"),
106+
),
99107
# Upper bounded with ~= operator
100108
(
101109
"upper-bound-compatible-package",

0 commit comments

Comments
 (0)