mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
pep508: fix pyo3 related failing test
This test was failing on master. I guess we don't test this crate with the pyo3 feature enabled? I think this regression was due to a recent change in the error reporting of the pep440 crate.
This commit is contained in:
parent
b6bb2ac548
commit
342cac8b18
1 changed files with 2 additions and 2 deletions
|
@ -1604,8 +1604,8 @@ mod test {
|
|||
assert_eq!(
|
||||
captured_logs[0].body,
|
||||
"Expected PEP 440 version to compare with python_version, found '3.9.', \
|
||||
evaluating to false: after parsing 3.9, found \".\" after it, \
|
||||
which is not part of a valid version"
|
||||
evaluating to false: after parsing '3.9', found '.', which is \
|
||||
not part of a valid version"
|
||||
);
|
||||
assert_eq!(captured_logs[0].level, log::Level::Warn);
|
||||
assert_eq!(captured_logs.len(), 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue