xonsh/tests/built_ins
Łukasz Langa 1183813ff7
Some checks are pending
Build and deploy docs / Xonsh docs to gh-pages (push) Waiting to run
CI Tests / Test Python 3.10 macOS-latest (push) Waiting to run
CI Tests / Test Python 3.11 macOS-latest (push) Waiting to run
CI Tests / Test Python 3.12 macOS-latest (push) Waiting to run
CI Tests / Test Python 3.13 macOS-latest (push) Waiting to run
CI Tests / Test Python 3.10 ubuntu-latest (push) Waiting to run
CI Tests / Test Python 3.11 ubuntu-latest (push) Waiting to run
CI Tests / Test Python 3.12 ubuntu-latest (push) Waiting to run
CI Tests / Test Python 3.13 ubuntu-latest (push) Waiting to run
CI Tests / Test Python 3.10 windows-latest (push) Waiting to run
CI Tests / Test Python 3.11 windows-latest (push) Waiting to run
CI Tests / Test Python 3.12 windows-latest (push) Waiting to run
CI Tests / Test Python 3.13 windows-latest (push) Waiting to run
Fix ignored exception in tracer shutdown related to module deletion (#5806)
With the tracer on, modules at shutdown can be destroyed in an order
that prevents the `trace()` function from working. This was currently
the case with Python 3.13 where the function was still being called
during the `xonsh.tracer` module's destruction.

This change adds a test to prevent this from happening in the future,
and works around the issue by creating local references to necessary
functions that were otherwise set to None at shutdown.
2025-03-03 18:07:18 +06:00
..
tracer Fix ignored exception in tracer shutdown related to module deletion (#5806) 2025-03-03 18:07:18 +06:00
test_tracer.py Fix ignored exception in tracer shutdown related to module deletion (#5806) 2025-03-03 18:07:18 +06:00
test_wizard.py refactoring: move tests to component dirs: lib, procs (#5558) 2024-06-29 11:23:16 +02:00
test_xonfig.py refactoring: move tests to component dirs: lib, procs (#5558) 2024-06-29 11:23:16 +02:00
test_xontribs.py refactoring: move tests to component dirs: lib, procs (#5558) 2024-06-29 11:23:16 +02:00