Skip to content

Commit a5bc3d2

Browse files
committed
Add missing test
1 parent d7536d4 commit a5bc3d2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/unit/resolution_resolvelib/test_provider.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@ 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+
{
103+
"upper-bound-lt-package": [
104+
build_req_info("upper-bound-lt-package<2.0")
105+
]
106+
},
107+
[],
108+
{},
109+
(False, True, False, math.inf, False, "upper-bound-lt-package"),
110+
),
99111
# Upper bounded with ~= operator
100112
(
101113
"upper-bound-compatible-package",

0 commit comments

Comments
 (0)