Commit graph

813 commits

Author SHA1 Message Date
Bob Hyman
312b17f2b5 fix test failures in test_xonsh_party and test_ptk_highlight due to absense of builtin 'echo' on Windows 2016-09-29 21:38:35 -04:00
Anthony Scopatz
aff0a090ce new path tests 2016-09-25 15:07:42 -04:00
Anthony Scopatz
5a0b8d718a addressed double equals issue 2016-09-24 17:00:30 -04:00
Gil Forsyth
337ec2404b Merge pull request #1719 from Carreau/no-multi-global
Fix context-manager tests on 3.6
2016-09-21 10:26:00 -04:00
Gil Forsyth
2db0763f52 Merge pull request #1717 from Carreau/async-comp
Fix async comprehension on 3.6
2016-09-21 10:25:11 -04:00
laerus
e2174dc34d test_dirstack::test_cdpath_expansion leaving stray dirs 2016-09-21 14:45:58 +03: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
laerus
7aae605ea0 more isolation 2016-09-15 18:51:13 +03:00
laerus
e1a118f22f new test/print to stderr 2016-09-15 17:31:41 +03:00
laerus
58c4a3e209 test_format_prompt_with_invalid_func needs the actual Env 2016-09-15 17:19:39 +03:00
laerus
b87f6e9922 migrate prompt tests p1 2016-09-15 17:06:35 +03:00
Anthony Scopatz
edaebc9843 Merge pull request #1727 from astronouth7303/nested-vox
Nested vox
2016-09-13 23:50:27 -04:00
Jamie Bliss
2f826d47ea Fixing test and pep8 2016-09-13 23:24:14 -04:00
Jamie Bliss
7b2e0421ca Allow links in news items 2016-09-13 23:10:45 -04:00
Jamie Bliss
2afbdcc1dd Overtesting on Windows 2016-09-13 21:01:50 -04:00
Jamie Bliss
2f60a22f64 Windows is still a thing. 2016-09-13 20:52:19 -04:00
Jamie Bliss
dc8c5b5b53 Finally fix __iter__() so subdirs work correctly.
Also add a test for subdirs
2016-09-13 20:49:34 -04:00
Jamie Bliss
e2c981de78 Add an explicit (and more correct) __contains__() 2016-09-13 20:29:44 -04:00
BlahGeek
201364afda use pytest's tmpdir 2016-09-13 21:37:24 +08:00
BlahGeek
f9abbc8a05 support autocd path highlight 2016-09-13 11:29:49 +08:00
BlahGeek
acb0bfe3cb more tests 2016-09-13 10:54:20 +08:00
BlahGeek
50aecce6ff fix = in subproc arg 2016-09-13 10:41:39 +08:00
Matthias Bussonnier
3851a77062 Fix test and Ast creation.
Report useful error messages, and creat ast with integers.
2016-09-12 19:02:37 -07:00
Matthias Bussonnier
c42b1fa135 Don't reuse variables names in tests.
Since http://bugs.python.org/issue27999, global after use is a
SyntaxError; reusing variable name in tests/test_contexts.py
lead to failure.

Should close #1718
2016-09-12 10:01:16 -07:00
BlahGeek
9ce5a8494d fix alias lookup on windows 2016-09-12 11:52:09 +08:00
BlahGeek
ddf97f0149 support macro syntax 2016-09-12 11:47:18 +08:00
BlahGeek
c7629b1f3c add cd alias for windows while testing, support windows path highlight 2016-09-12 11:23:20 +08:00
BlahGeek
0f2ab88f2e Revert "tests use type instead of cd for windows"
This reverts commit 7c635add93.
2016-09-12 11:20:39 +08:00
BlahGeek
7c635add93 tests use type instead of cd for windows 2016-09-12 11:05:20 +08:00
BlahGeek
642b46976a Merge branch 'master' into new-xonsh-highlight 2016-09-11 20:51:46 +08:00
BlahGeek
66d6f50662 use Name.Builtin instead of Keyword 2016-09-11 20:17:49 +08:00
BlahGeek
4d3e9cbed7 fix test fixture 2016-09-11 16:22:42 +08:00
BlahGeek
30e43401b8 cleanup code 2016-09-11 16:19:00 +08:00
Morten Enemark Lund
4d84a5dbc9 Updates from review 2016-09-11 10:11:41 +02:00
BlahGeek
86fef03d45 fix tests for windows 2016-09-11 16:09:10 +08:00
Morten Enemark Lund
4f9304cbd9 Add xonsh_builtins fixture to test_commands_cache_lazy() 2016-09-11 09:59:16 +02:00
Morten Enemark Lund
2c0d0442e0 Add PATHEXT to the xonsh_builtins.__xonsh_env__ on windows 2016-09-11 09:59:15 +02:00
Morten Enemark Lund
a6c602c9a4 Merge pull request #1684 from bobhy/track_wd1
Track wd1
2016-09-11 08:27:47 +02:00
BlahGeek
e311ae26cb new implementation of XonshLexer for pygments 2016-09-11 00:50:52 +08:00
Konstantinos Tsakiltzidis
1dfac01cd6 Merge pull request #1705 from xonsh/fortarg
Fixed issue with accidentally wrapping generators in function calls
2016-09-10 19:36:53 +03:00
Anthony Scopatz
9f7c9ae817 fixed tilde expansion 2016-09-09 19:21:26 -04:00
Anthony Scopatz
27437a4913 fixed issue with accidentally wrapping generators in function calls 2016-09-09 19:07:41 -04:00
Bob Hyman
87117203ad fix test failures (possibly caused by context manager monkeying with globals?) 2016-09-07 21:37:33 -04:00
Anthony Scopatz
ad05d89eda Merge pull request #1682 from laerus/testnews
better news testing
2016-09-06 10:59:41 -04:00
Bob Hyman
33d8e11469 fix indexerror on pushd(['.']) (hopefully last such); allow dirstack_unc tests to run if some temp drive letters already in use 2016-09-05 23:08:03 -04:00
Bob Hyman
4d735fde25 fix indexerror on pushd(['.']) (hopefully last such); allow dirstack_unc tests to run if some temp drive letters already in use 2016-09-05 22:04:55 -04:00
Bob Hyman
1eab95ed5e fire chdir event when os change wd detected; also fix cd '.' with AUTO_PUSHD 2016-09-05 20:36:45 -04:00
laerus
f0d4303bd6 'cleanup 2016-09-05 22:49:11 +03:00
laerus
2bec3decd4 more info on failure 2016-09-05 22:36:12 +03:00
laerus
1249aed7a2 fail on single graves 2016-09-05 21:27:06 +03:00