Commit graph

106 commits

Author SHA1 Message Date
Bob Hyman
034f9f325d Cleanup per review. 2020-09-11 01:11:29 -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
00aeb7645a tests: Add VIRTUAL_ENV key to DummyEnv
Needed by test_vox.py.
2020-08-29 16:39:14 +02:00
David Strobach
b5575947ad Fix positional-only args test 2020-08-27 03:28:44 +02:00
Anthony Scopatz
f048b295d6 black updates to tests and docs 2020-08-26 10:10:59 -05:00
David Strobach
40436e3a97 Add walrus tests 2020-08-11 18:26:40 +02:00
Matthias Bussonnier
784c5286ef
Remove most of Python 3.5 compatibility code. (#3654)
There  now should not be any remaining  3,5 conditinal code.
We now directly use inspect's getouterframes, so remove it from
inspector

The 3.5 parser get merged into 3.6 and a number of global vaiable
referring to 3.5/3.6 are now gone.

The only remaining mention is appveyor test, which are anyway failing
but not being seen as so by GitHub, so I'll leave them alone.
2020-08-05 10:29:31 -04:00
Bob Hyman
53bfe8c99c
Add ptk3 (#3521)
* delete package ptk; rename ptk2 to ptk_shell.; leave ptk2 as alias for ptk_shell.
* SHELL_TYPE "prompt_toolkit" only; remove ptk1 specific behavior.
* Doc updates: eliminate reference to prompt-toolkit < 2.0
* update requirements files ptk>=2; test shell_style="none"
* fix ptk2 stub per code review
* Add ptk2 to list of packages to install.
2020-04-18 10:44:27 -04:00
David Strobach
60f87bc1ba test tools: remove input sanitization from test function 2020-03-19 11:54:56 +01:00
Anthony Scopatz
c7a509d4c3 minor fixes all around 2019-10-23 18:14:23 -04:00
Jamie Bliss
3586da78da Add is_manually_set() to DummyEnv 2019-08-28 14:50:07 -04:00
Jamie Bliss
f0b49f0c81 Add ... support to DummyEnv 2019-08-28 14:30:04 -04:00
Anthony Scopatz
f1127ed916 Revert "updated setup.py for Python 3.4 (revert of 91ec14bb6d)"
This reverts commit 002a317951.
2019-05-14 17:41:35 -04:00
Anthony Scopatz
002a317951 updated setup.py for Python 3.4 (revert of 91ec14bb6d) 2019-05-14 17:32:31 -04:00
Rodrigo Oliveira
91ec14bb6d Drop support for Python 3.4
Minimal required Python version is now 3.5.
2019-05-06 16:51:32 -03:00
Anthony Scopatz
1c6b1e1ea4 black 2019-02-13 18:49:39 -05:00
Anthony Scopatz
7602416038 forgot paren 2018-12-06 09:00:04 -05:00
Anthony Scopatz
ec0cd83217 more tests 2018-12-06 08:49:49 -05:00
Anthony Scopatz
7c9fe62f3d more path fixes 2018-12-06 08:33:26 -05:00
Anthony Scopatz
609370d48e try this 2018-12-05 20:17:38 -05:00
Erez Shinan
3135c40e11 Typo fix 2018-10-15 08:04:41 +03:00
Anthony Scopatz
4c91df2abc many test fixes 2018-09-13 14:03:35 -04:00
Anthony Scopatz
4f56a64879 ran black on tools 2018-08-27 18:13:44 -05:00
Anthony Scopatz
9640461451 some formatting fixes 2018-07-15 17:00:46 -05:00
Anthony Scopatz
69eb19834a skip ptk <2 tests 2018-07-15 16:37:21 -05:00
Maximilian Köhl
7334c7a5c4 fix AppVeyor MSYS2 test script to no longer use symlinks in pytest 2017-12-31 17:50:55 +01:00
Anthony Scopatz
80712dbd36 conda test fixes 2017-11-22 19:23:47 -05:00
Anthony Scopatz
1bc4920dbf lex f-strings 2017-07-16 16:13:20 -05:00
laerus
9edfafaf99 Add flush method to tests/tools::DummyHistory 2017-06-07 21:55:04 +03:00
Anthony Scopatz
67527baa6e summy styler must provide str to pygments, not none. 2017-02-18 20:34:40 -05:00
Anthony Scopatz
65385ff544 some bug fixes 2017-02-18 19:43:48 -05:00
Morten Enemark Lund
88abaf6348 Fix skip_if_on_conda decorator 2017-02-14 21:17:43 +01:00
Anthony Scopatz
a695c78e64 is -> in 2017-02-12 17:09:51 -05:00
Anthony Scopatz
cbc7282707 ws 2017-02-12 13:36:33 -05:00
Anthony Scopatz
75afffc54b merge cases 2017-02-12 12:52:13 -05:00
Anthony Scopatz
03646b987e skip on travis 2017-02-12 11:50:34 -05:00
Jamie Bliss
972ae6e689 Merge remote-tracking branch 'upstream/master' into event-transform_command 2017-01-12 13:22:23 -05:00
Konstantinos Tsakiltzidis
c62fb9beb6 Merge pull request #2072 from xonsh/source
source alias improvements
2017-01-12 11:39:33 +02:00
Hugo Wang
335fc71bc7 xonsh script.xsh should not fail over 2017-01-11 21:59:42 +08:00
Anthony Scopatz
264c48c0b1 added dummy swap 2017-01-08 20:23:25 -05:00
Jamie Bliss
6db7df4bec Add defaults to DummyEnv so we don't have to set up a basic environment every time. 2017-01-07 15:31:18 -05:00
Jamie Bliss
e5e2b08ed9 Revert "Move on_transform_command into parser."
This reverts commit 5b01f80829.
2017-01-05 22:07:55 -05:00
Jamie Bliss
5b01f80829 Move on_transform_command into parser.
Which involved as surprising amount of test refactorings.
2017-01-04 20:43:25 -05:00
Anthony Scopatz
eb80057975 Replaced backgroundable with threadable 2016-10-15 14:09:49 -04:00
Gil Forsyth
29af833ad8 fix remaining pep8 violations 2016-10-07 10:57:31 -04:00
Anthony Scopatz
37673da76a test fixes 2016-10-01 23:15:59 -04:00
Anthony Scopatz
dd7987ad85 test fixes 2016-09-28 23:45:40 -04:00
Anthony Scopatz
911021e0c3 firx for non-captured output 2016-09-24 15:15:38 -04:00
Anthony Scopatz
046a1160bc merge from master 2016-09-21 19:57:54 -04:00
Matthias Bussonnier
f83ff5b2c6 Start a Python 3.6 parser.
Write now not many changes, mostly async comprehension ast node takes a
mandatory 4th keyword.
2016-09-18 10:48:30 -07:00