Commit graph

1460 commits

Author SHA1 Message Date
a
b53df868ce windows tests to the god of windows tests 2020-10-01 00:09:48 +03:00
a
7049c250b4 Merge branch 'master' of https://github.com/xonsh/xonsh into env_get_path 2020-09-30 23:44:37 +03:00
a
85fc912cf7 tests to the god of tests 2020-09-30 23:34:51 +03:00
Anthony Scopatz
7b1b5d2874
Merge pull request #3793 from cafehaine/master
Change the behavior of NO_COLOR, add RESET
2020-09-30 13:30:38 -07:00
a
fb4c52a5ef Fix register 2020-09-30 21:36:59 +03:00
cafehaine
f3bf1d287f Fix tests 2020-09-23 21:15:37 +02:00
Anthony Scopatz
17e2cb0d03
Merge pull request #3748 from bobhy/environment_fixes
Environment fixes
2020-09-23 10:36:25 -07:00
Bob Hyman
f07d016995 Merge branch 'master' into xonfig-kernel 2020-09-23 04:41:31 -04:00
Bob Hyman
88bba37c3a Merge branch 'master' into environment_fixes 2020-09-23 04:40:26 -04:00
Bob Hyman
48238beec1 more mocks for test_xonfig_kernel 2020-09-23 04:35:44 -04:00
Anthony Scopatz
089fb90b0b
Merge pull request #3785 from Eadaen/history_testing-ead
Commands to easily manage deletion of history from the current session.
2020-09-22 09:10:04 -07:00
Eadaen1
3933b74278 Improve comments in tests 2020-09-20 19:28:54 +01:00
Gyuri Horak
ef6634097b
ANSI OSC - tests, news item 2020-09-20 18:55:01 +02:00
Eadaen1
d7141856ae add docs, bugfixes, misc changes 2020-09-17 14:22:41 +01:00
Bob Hyman
a7e6511381 fix test failure on linux only. 2020-09-17 03:37:23 -04:00
Bob Hyman
9b2827ee80 Merge branch 'master' into environment_fixes 2020-09-17 03:05:14 -04:00
Bob Hyman
2f3a7a4e72 Merge branch 'master' into xonfig-kernel 2020-09-17 02:57:19 -04:00
Bob Hyman
ec320857c8 add fake_lib for mocks of packages;refine tests on xonsh jupyter-kernel. 2020-09-17 02:56:01 -04:00
Eadaen1
5e0228aa09 Tests succeeded. 2020-09-17 01:25:56 +01:00
Eadaen1
2ada0badbb Add tests, other misc changes. 2020-09-17 00:26:19 +01:00
David Strobach
6461d9ec73 Add subproc from envvar test 2020-09-16 14:56:45 +02:00
David Strobach
607d649497 Fix environment variable assignment grammar ambiguity 2020-09-16 14:41:38 +02:00
Bob Hyman
e24fe29d50 WIP -- unit tests for xonfig jupyter_kernel 2020-09-16 02:17:59 -04:00
Bob Hyman
47a85c7ed9 Merge branch 'master' into wizard-fail 2020-09-11 12:31:17 -04:00
Bob Hyman
53c0f25e77 fix per review 2020-09-11 12:31:11 -04:00
Bob Hyman
06986fc0d4 Merge branch 'master' into environment_fixes 2020-09-11 01:15:49 -04:00
Bob Hyman
034f9f325d Cleanup per review. 2020-09-11 01:11:29 -04:00
Bob Hyman
d0096fb655 Test cases, news and fix one bug. 2020-09-08 14:44:26 -04:00
Bob Hyman
a9048d2841 Allow "ANSICON", "TERM", "VIRTUAL_ENV" registered envvars to not be in env. 2020-09-07 20:39:35 -04:00
David Strobach
76cd2ea43e Add test for leading variable initialization 2020-09-04 21:55:12 +02:00
David Strobach
00aeb7645a tests: Add VIRTUAL_ENV key to DummyEnv
Needed by test_vox.py.
2020-08-29 16:39:14 +02:00
David Strobach
f9f485f25d Add tests for args non-default following default 2020-08-28 17:55:05 +02:00
David Strobach
2eb5271fa0 Add PEP 570 pos-only parameters to lambda varargs 2020-08-27 03:28:44 +02:00
David Strobach
79eccc488c Fix pos-only parameters not requiring comma before slash
This fixes `def foo(x /, y):` being accepted as valid syntax.
2020-08-27 03:28:44 +02:00
David Strobach
b5575947ad Fix positional-only args test 2020-08-27 03:28:44 +02:00
David Strobach
af9c5b59bd Add support for PEP 570 positional-only arguments 2020-08-27 03:28:37 +02:00
David Strobach
5d64139b8f Add support for Python 3.8 star expressions in yield statement 2020-08-26 20:37:19 +02:00
David Strobach
fb664b3456 Fix starred return test 2020-08-26 20:32:53 +02:00
David Strobach
c9d45de556 Add support for Python 3.8 star expressions in return statement 2020-08-26 19:14:45 +02:00
Anthony Scopatz
f048b295d6 black updates to tests and docs 2020-08-26 10:10:59 -05:00
Bob Hyman
c4aaede00b Rewrite fix per code review, cleaner! 2020-08-25 16:17:34 -04:00
Bob Hyman
e4ce7a6d9c Merge branch 'master' into wizard-fail 2020-08-25 14:55:16 -04:00
David Strobach
b0336dfbe5 Fix list comprehensions with multiple if clauses 2020-08-25 01:34:59 +02:00
Bob Hyman
e0d9ace4b0 fix commit list 2020-08-24 13:32:49 -04:00
Anthony Scopatz
22610f48d6 THREAD_SUBPROCS=None for xonshrc files 2020-08-20 20:11:37 -05:00
Anthony Scopatz
70bd020858
Merge pull request #3660 from laloch/fstrings
Improve handling of f-strings
2020-08-20 15:25:42 -05:00
David Strobach
5edd851feb Fix literal whitespace being deleted from f-strings
Fixes an issue with
 f"$HOME       = {$HOME}"
resulting in
 "$HOME= /home/foobar"
2020-08-20 05:41:28 +02:00
David Strobach
c3a354781b Finalize f-string handler transition
- Moves the f-string handler into a separate FStringAdaptor class.
- Removes helper dictionary mapping int ID to f-string field.
  The f-string fields are now rather patched early directly into the
  AST as an argument to eval_fstring_field. This solves the problems
  with f-string fields lifespan management.
2020-08-17 13:41:11 +02:00
David Strobach
9879fce927 Support Python 3.8 self-documenting f-string expressions 2020-08-17 04:57:39 +02:00
David Strobach
12c8990e53 Fix f-string tests 2020-08-17 04:57:39 +02:00