Commit graph

193 commits

Author SHA1 Message Date
adam j hartz
959270c0d2 add tests 2016-08-19 15:43:26 -04:00
Anthony Scopatz
c8727f17b3 Added function arguments to scope 2016-08-19 01:45:44 -04:00
laerus
8bde7a5f7f 'test_parser nodes_equal fix' 2016-07-04 16:32:03 +03:00
laerus
603681aa8a test_parser fix 2016-07-02 03:43:49 +03:00
laerus
bea8c62829 tests bugs fixing/test_parser & test_tools to go 2016-07-01 21:52:37 +03:00
laerus
b83906381e test_parser incomplete 2016-07-01 17:50:01 +03:00
laerus
f43ddcfe27 'revert test_parser' 2016-07-01 12:43:32 +03:00
Konstantinos Tsakiltzidis
ba6f63f143 Merge branch 'master' into pytest_migration 2016-06-29 16:58:08 +03:00
Morten Enemark Lund
064e86825d Better integration of the check_ast, check_stmts, check_xonsh, check_xonsh_ast assertion helpers 2016-06-23 20:16:58 +02:00
Gil Forsyth
a05defc857 fix EnvPath test failures
EnvPath's `__getitem__` method calls `expandvars` which only performs
expansion if the ENV_VAR `EXPAND_ENV_VARS` is `True`.  And since our
environments aren't bleeding over into the tests anymore, this wasn't
being set.  So a quick mock env added in to the expansion tests and
we're good to go.
2016-06-23 10:25:42 -04:00
Gil Forsyth
2f4adb2cbe fix skip error (no yield inside skipped functions)
note that pytest is a bit finicky about how it skips things.  we can't
use the `yield check_ast, asdf, asdf` format within a skipped function
since it will still be parsed and in the case of python3.5 only syntax,
python3.4 barfs
2016-06-23 09:59:21 -04:00
Morten Enemark Lund
cdf9e43bae Fix pytest skip 2016-06-23 14:46:15 +02:00
Konstantinos Tsakiltzidis
f40a6e3170 'escape 3.5 tests with if instead of skip' 2016-06-23 13:01:20 +03:00
Konstantinos Tsakiltzidis
b55fcee067 'main isatty mock/typo' 2016-06-23 02:46:34 +03:00
Gil Forsyth
bd78cbffd4 more fixes for test skipping 2016-06-22 18:51:56 -04:00
Gil Forsyth
698193c5e2 update skip reason 2016-06-22 18:32:14 -04:00
Gil Forsyth
4eff251964 remove all nose imports and calls everywhere 2016-06-22 18:06:44 -04:00
Gil Forsyth
7e254d681e change all skip syntax to pytest 2016-06-22 17:32:02 -04:00
Gil Forsyth
46f842dcbe Merge master and update setup syntax in execer test 2016-06-22 09:57:31 -04:00
adam j hartz
9d2a7e8c12 add parser tests 2016-06-16 01:01:23 -04:00
adam j hartz
4a53fb71cd add a few test cases 2016-06-11 21:02:28 -04:00
Gil Forsyth
74d4e6b892 change test setup syntax to match pytest 2016-06-07 15:53:38 -04:00
Anthony Scopatz
fe69d18e5e added question mark test 2016-06-02 17:12:46 -04:00
Anthony Scopatz
30e1758478 added comma literals to subproc mode 2016-05-24 23:55:07 -04:00
adam j hartz
6975792584 add tests for new lexer/parser changes 2016-05-21 10:29:21 -04:00
adam j hartz
d6c8dae196 test cases for updated regex glob 2016-05-19 19:23:42 -04:00
Anthony Scopatz
6db4b5fa3e some test fixes 2016-04-09 00:12:25 -04:00
Anthony Scopatz
0b40b37d51 it may actually work again 2016-04-08 23:59:21 -04:00
Anthony Scopatz
d2e8b112e5 pain 2016-04-01 01:52:41 -04:00
Anthony Scopatz
83a61a1964 broken merge 2016-03-31 22:04:11 -04:00
adam j hartz
a19ae1ade3 add some parser tests back in 2016-03-19 15:12:13 -04:00
adam j hartz
2e3fc49821 add some new test cases for !() and ![] syntax 2016-03-19 15:03:14 -04:00
Anthony Scopatz
fa95e62711 some logic fixes to ndslicing 2016-03-18 12:20:13 -04:00
Gil Forsyth
4542eee990 update tests for extra slicing 2016-03-17 12:27:12 -04:00
Anthony Scopatz
79e02c7d72 added or proc 2016-02-09 00:47:48 -05:00
Anthony Scopatz
ae509b8bb4 added annoying double ampersand token 2016-02-09 00:31:15 -05:00
Anthony Scopatz
3bf723363f debug on 2016-02-07 22:25:44 -05:00
Anthony Scopatz
2da806af0c debug on 2016-02-07 22:14:42 -05:00
Anthony Scopatz
0ec061ad9f debug on 2016-02-07 22:12:33 -05:00
Anthony Scopatz
9c3506cb14 better filename handling in tracer 2016-02-03 01:29:06 -05:00
Anthony Scopatz
83c337178e turn off line and col tests for < v3.5.1 2016-02-03 00:16:05 -05:00
Anthony Scopatz
04ccec597b fixed with 2016-02-02 21:19:56 -05:00
Anthony Scopatz
79b3ffdb96 more hacking 2016-02-02 02:59:12 -05:00
Anthony Scopatz
29a4f826a1 more fixes 2016-02-02 00:19:37 -05:00
Anthony Scopatz
80983d3e2a prettier dump 2016-01-31 23:13:01 -05:00
Anthony Scopatz
a85e3c0e5a implemented parser acces to tokens 2016-01-31 21:45:14 -05:00
Anthony Scopatz
77b02e9110 line an col numbs so broken! 2016-01-31 20:32:28 -05:00
Kurtis Rader
e88c863d10 Add a uniform character encoding to all files.
I wouldn't normally do something like this but issue #487 brought to
my attention the fact that too many of the python modules don't have
an encoding comment and of those that do there is a lot of pointless
inconsistency in the style of the comment.
2015-11-16 14:10:40 -08:00
Anthony Scopatz
dffe71ae1a don't actually run many parser tests 2015-10-20 17:26:06 -04:00
Anthony Scopatz
9e25ec1f6f await implement 2015-09-27 01:09:28 -04:00