xonsh/tests
Noorhteen Raja NJ 769dfbe6aa
Py 312 pre-liminary support (#5156)
* refactor: project requires 3.9+

changed as per NEP-29
https://numpy.org/neps/nep-0029-deprecation_policy.html

* test: nose type tests are deprecated in pytest now

* fix: deprecation of ast.Str and ast.Bytes and .s attribute access

* fix: deprecation of ast.Num,ast.NameConstant,ast.Ellipsis

* refactor: upgrade code to be py39+ using ruff

the changes are auto-generated

* refactor: remove typing.Annotated compatibility code

* fix: temporarily disable having xonsh syntax inside f-strings

* test: skip failing tests

there is no workaround for this version. It might get solved in the
final release though

* refactor: make XonshSession.completer lazily populated

this speedsup the tests as cmd_cache would not be actively populated
when used in default_completers function

* refactor: make presence of walrus operator default
2023-07-04 22:18:37 +05:30
..
aliases [pre-commit.ci] pre-commit autoupdate 2023-02-14 22:57:36 +05:30
bin style: isort imports 2022-01-31 11:16:51 -05:00
completers Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
histories Fix tests 2020-09-23 21:15:37 +02:00
man1 improve completers (#4648) 2022-01-27 21:22:36 +05:30
procs Using repr(cmd) for command not found (#5075) 2023-03-02 11:13:36 +05:30
prompt Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
scripts xonsh script.xsh should not fail over 2017-01-11 21:59:42 +08:00
test_lib chore: update tests 2022-03-24 19:49:30 +05:30
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 We can't be sure there's a python binary (#4917) 2022-08-09 21:12:40 +05:30
test_ansi_colors.py style: isort imports 2022-01-31 11:16:51 -05:00
test_ast.py style: sort imports 2022-03-24 19:49:30 +05:30
test_base_shell.py fix: do not append empty/comment-only input to history (#4822) 2022-05-26 17:50:08 +05:30
test_builtins.py style: sort imports 2022-03-24 19:49:30 +05:30
test_cli_utils.py history transfer (#4604) 2021-12-20 08:36:29 +05:30
test_color_tools.py Fix tests 2020-09-23 21:15:37 +02:00
test_commands_cache.py commands_cache: ignore mtime check on non-darwin os (#4988) 2022-12-05 21:04:20 +05:30
test_completer.py Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
test_completion_context.py Fixing bash completion bug when prefix started with '>', '<', or ':' (#4826) 2022-08-06 14:37:09 +05:30
test_contexts.py style: isort imports 2022-01-31 11:16:51 -05:00
test_dirstack.py Moving chdir to xonsh.tools (#5073) 2023-03-02 12:31:08 +05:30
test_dirstack_unc.py [pre-commit.ci] pre-commit autoupdate 2023-02-14 22:57:36 +05:30
test_environ.py [pre-commit.ci] pre-commit autoupdate 2023-02-14 22:57:36 +05:30
test_events.py style: isort imports 2022-01-31 11:16:51 -05:00
test_execer.py [pre-commit.ci] pre-commit autoupdate 2023-02-14 22:57:36 +05:30
test_foreign_shells.py style: sort imports 2022-03-24 19:49:30 +05:30
test_history_dummy.py Add XONSH_HISTORY_IGNORE_REGEX support (#4953) 2022-10-05 00:16:42 +05:30
test_history_json.py [pre-commit.ci] pre-commit autoupdate 2023-02-14 22:57:36 +05:30
test_history_sqlite.py fix(sqlite): skip sqlite history tests on windows with python 3.11 2023-01-17 13:27:17 -05:00
test_imphooks.py fix: do not append empty/comment-only input to history (#4822) 2022-05-26 17:50:08 +05:30
test_integrations.py Fix job control for callable aliases (#4901) 2022-08-03 11:37:26 +05:30
test_jobs.py Fix job control for callable aliases (#4901) 2022-08-03 11:37:26 +05:30
test_jsonutils.py style: isort imports 2022-01-31 11:16:51 -05:00
test_lazyasd.py black tests 2018-08-30 09:18:49 -05:00
test_lazyjson.py style: isort imports 2022-01-31 11:16:51 -05:00
test_lexer.py style: isort imports 2022-01-31 11:16:51 -05:00
test_main.py Ruff linter (#5118) 2023-04-19 12:59:32 +00:00
test_man.py style: sort imports 2022-03-24 19:49:30 +05:30
test_news.py style: isort imports 2022-01-31 11:16:51 -05:00
test_parser.py Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
test_pipelines.py cmd cache refactor - optimize cache usage (#4954) 2022-11-14 23:52:10 +05:30
test_platform.py style: isort imports 2022-01-31 11:16:51 -05:00
test_pretty.py fix: item order of pretty-printed dictionaries (#4786) 2022-04-30 08:25:52 +05:30
test_ptk_completer.py cmd cache refactor - optimize cache usage (#4954) 2022-11-14 23:52:10 +05:30
test_ptk_highlight.py fix: update ptk highlight tests to reflect new tokenizing 2023-01-17 13:27:17 -05:00
test_ptk_history.py refactor: remove xonsh.ptk2 module (#4570) 2021-11-30 08:22:31 -05:00
test_ptk_multiline.py style: isort imports 2022-01-31 11:16:51 -05:00
test_ptk_shell.py [pre-commit.ci] pre-commit autoupdate (#5148) 2023-05-30 17:10:53 +06:00
test_pyghooks.py [pre-commit.ci] pre-commit autoupdate 2023-02-14 22:57:36 +05:30
test_readline_shell.py Add test for readline shell (#4447) 2021-09-02 22:15:20 +03:00
test_shell.py style: isort imports 2022-01-31 11:16:51 -05:00
test_tools.py Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
test_tracer.py pre-commit hook for pyupgrade (#4583) 2021-12-06 14:42:26 -05:00
test_virtualenv_activator.py We can't be sure there's a python binary (#4802) 2022-05-10 15:55:03 +05:30
test_wizard.py style: isort imports 2022-01-31 11:16:51 -05:00
test_xonfig.py test: add back xonfig-info test 2022-03-25 10:41:42 -04:00
test_xonsh.xsh Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_xontribs.py Moving old xontribs to repositories (#5055) 2023-03-17 13:25:22 +06:00