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
Anthony Scopatz
43e7827a9a
fix tests
2020-08-16 19:13:35 -05:00
Anthony Scopatz
0d1d3574ea
Env.rawkeys()
2020-08-16 18:46:02 -05:00
Anthony Scopatz
3c816367bb
Merge branch 'ansi_prompt' of https://github.com/dyuri/xonsh into dyuri-ansi_prompt
2020-08-16 17:25:03 -05:00
Gyuri Horak
a4b61f5fc1
Moved tokenize_ansi
into ptk_shell.shell
, added unit tests for ANSI tokenization.
2020-08-16 20:13:07 +02:00
Anthony Scopatz
fc897fa55c
Merge pull request #3675 from laloch/walrus
...
Add Python 3.8 assignment expressions ("walrus"/PEP 572)
2020-08-16 10:28:54 -05:00
David Strobach
3a45923b83
Only return string keys while iterating over __xonsh__.env
2020-08-12 03:34:34 +02:00
Anthony Scopatz
377ab8d9de
Merge pull request #3662 from bobhy/is_3661
...
drop dependence on py.exe on Windows
2020-08-11 20:12:01 -04:00
David Strobach
40436e3a97
Add walrus tests
2020-08-11 18:26:40 +02:00
Bob Hyman
fc492cad97
Skip tests that run xonsh in subproc if not installedDo not try to shoehorn module into PATH(too complex to track Windows vs other VENV).
2020-08-10 17:16:36 -04:00