-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
bugSomething isn't workingSomething isn't workingtestingRelated to testing Ruff itselfRelated to testing Ruff itself
Description
I tried to bump the version of ruff and rebuild it for Gentoo. Running the tests failed:
running 22 tests
test helpers::tests::any_over_stmt_type_alias ... ok
test helpers::tests::any_over_type_param_type_var_tuple ... ok
test helpers::tests::any_over_type_param_param_spec ... ok
test helpers::tests::resolve_import ... ok
test identifier::tests::extract_global_names ... ok
test helpers::tests::any_over_type_param_type_var ... ok
test name::tests::empty_vec ... ok
test name::tests::extend_from_slice_heap ... ok
test name::tests::extend_from_slice_stack ... ok
test name::tests::extend_from_slice_stack_spill ... ok
test name::tests::extend_heap ... ok
test name::tests::extend_stack ... ok
test name::tests::extend_stack_spilled ... ok
test name::tests::from_slice_heap ... ok
test name::tests::from_slice_stack ... ok
test name::tests::from_slice_stack_capacity ... ok
test name::tests::pop_heap ... ok
test name::tests::pop_stack ... ok
test name::tests::push_stack ... ok
test name::tests::push_stack_spill ... ok
test nodes::tests::size ... FAILED
test str::tests::prefix_uniqueness ... ok
failures:
---- nodes::tests::size stdout ----
thread 'nodes::tests::size' panicked at crates/ruff_python_ast/src/nodes.rs:4151:9:
assertion `left == right` failed
left: 56
right: 48
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
nodes::tests::size
test result: FAILED. 21 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: test failed, to rerun pass `-p ruff_python_ast --lib`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtestingRelated to testing Ruff itselfRelated to testing Ruff itself