xonsh/tests
Ł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
..
aliases fix locate_file (#5606) 2024-07-18 10:53:00 +02:00
api refactoring: create xonsh.api, update xonsh.lib (#5557) 2024-06-29 11:58:11 +02:00
bin Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
built_ins Fix ignored exception in tracer shutdown related to module deletion (#5806) 2025-03-03 18:07:18 +06:00
completers fix: argparse based completions should work in newer python versions (#5542) 2024-06-27 11:55:39 +05:30
history Implement history pull for JSON history backend (#5788) 2025-02-03 22:34:19 +06:00
lib refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
man1 improve completers (#4648) 2022-01-27 21:22:36 +05:30
parsers test(parser): xfail failed brackets test on windows 2024-11-16 12:59:35 -05:00
platform refactoring: move platform, winutils, macutils to platform submodule (#5549) 2024-06-29 02:01:15 +02:00
procs test(ubuntu,osx): skip pipeline and specs tests on Python 3.12 2024-11-16 12:59:35 -05:00
prompt Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
scripts xonsh script.xsh should not fail over 2017-01-11 21:59:42 +08:00
shell Fix PTK shell sometimes not updating auto-suggest when up-arrow is pressed (#5787) 2025-01-31 21:40:43 +06:00
xoreutils Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
xpack fix: do not append empty/comment-only input to history (#4822) 2022-05-26 17:50:08 +05:30
.somedotfile dotfile matching 2018-09-12 18:12:02 -04:00
bashrc.sh added tests for foreign shells 2015-10-10 19:52:53 -04:00
batch.bat Add test for sourcing bat file on windows 2016-04-18 00:41:11 +02:00
conftest.py Fix vox env dir (#4736) 2022-03-27 17:12:52 +05:30
run_pwd.xsh more fixes 2016-09-09 00:58:32 -04:00
sample.xsh fixed up dashing 2018-11-08 13:16:44 -05:00
test_aliases.py aliases: fix expand_alias (#5598) 2024-07-13 14:55:46 +02:00
test_ansi_colors.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_builtins.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_cli_utils.py Fix argparser (#5421) 2024-05-16 16:31:05 +05:30
test_color_tools.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_commands_cache.py try just using CaseSenssitiveDict from requests to see if it works (#5744) 2024-12-08 13:58:31 +05:30
test_completer.py Fix: exception when completing in python-only context (#5632) 2024-07-27 21:03:35 +05:30
test_completion_context.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_contexts.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_dirstack.py tools: added `mkdir to xonsh.tools.chdir` (#5589) 2024-07-10 22:49:57 +02:00
test_dirstack_unc.py refactor: update line length to default setting 2024-04-16 11:23:35 -04:00
test_environ.py feat(environ): allow XONSH_*_DIR to be configurable (#5783) 2025-01-29 22:14:02 +06:00
test_events.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_execer.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_foreign_shells.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_imphooks.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_integrations.py Forward SIGHUP to child processes and process SystemExit more carefully (#5786) 2025-01-30 17:06:50 +06:00
test_main.py refactoring: fix test_main on mac (#5570) 2024-07-03 08:10:03 +02:00
test_man.py style: sort imports 2022-03-24 19:49:30 +05:30
test_news.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_pyghooks.py refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
test_tools.py Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
test_virtualenv_activator.py Fix quoting issue in virtualenv activator (#5700) 2024-10-03 14:49:05 +02:00
test_xonsh.xsh Remove globals (#4280) 2021-05-20 13:14:26 +03:00