Skip to content

test_declarative_module failure with 3.15 #5612

@clin1234

Description

@clin1234
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
     Running tests/test_declarative_module.rs (target/debug/deps/test_declarative_module-5e472faf94888739)

running 4 tests
SystemError: invalid PyModuleDef, extension possibly compiled for non-free-threaded Python
test test_declarative_module ... FAILED
SystemError: invalid PyModuleDef, extension possibly compiled for non-free-threaded Python
test test_inner_module_full_path ... FAILED
SystemError: invalid PyModuleDef, extension possibly compiled for non-free-threaded Python
SystemError: invalid PyModuleDef, extension possibly compiled for non-free-threaded Python
test test_module_names ... FAILED
test test_raw_ident_module ... ok

failures:

---- test_declarative_module stdout ----

thread 'test_declarative_module' (153331) panicked at tests/test_declarative_module.rs:169:41:
failed to wrap pymodule: PyErr { type: <class 'SystemError'>, value: SystemError("<class 'types.SimpleNamespace'> returned a result with an exception set"), traceback: None }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test_inner_module_full_path stdout ----

thread 'test_inner_module_full_path' (153332) panicked at tests/test_declarative_module.rs:169:41:
failed to wrap pymodule: PyErr { type: <class 'SystemError'>, value: SystemError("<class 'types.SimpleNamespace'> returned a result with an exception set"), traceback: None }

---- test_module_names stdout ----

thread 'test_module_names' (153333) panicked at tests/test_declarative_module.rs:169:41:
failed to wrap pymodule: PyErr { type: <class 'SystemError'>, value: SystemError("<class 'types.SimpleNamespace'> returned a result with an exception set"), traceback: None }


failures:
    test_declarative_module
    test_inner_module_full_path
    test_module_names

test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

error: test failed, to rerun pass `--test test_declarative_module`
error: 1 target failed:
    `--test test_declarative_module`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions