Commit graph

17 commits

Author SHA1 Message Date
Peter Ye
8bf47f29be
ast: do not descend into any comprehensions (#4622)
* ast: do not descend into any comprehensions

* add test

* add news
2022-01-05 09:35:50 -05:00
Bob Hyman
26475146e2
Flake8 1 (#3550)
* flake8 fixes -- tests only

* fix ci failure

* integrate fix from is_3551 so tests will pass.

* Update tests/test_builtins.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-05-05 06:42:28 -04:00
Raphael Das Gupta
3a232c6782
make comments easier to comprehend (#3517)
Make comments in the test_multiline_...-testcases easier to comprehend
by using correct grammar and spelling and by stating more relevant aspects.

Comment on test parameters with inline instead of block comments,
as this makes it easier to associate code lines with comments,
without having to resort to additional blank lines for separation.
2020-04-15 14:14:24 -04:00
Anthony Scopatz
a1e2c40688 xonsh execer on AST test 2018-11-19 20:08:44 -05:00
Anthony Scopatz
9084c376b2 execalias 2018-11-09 13:49:33 -06:00
Gil Forsyth
448ea11323 Potential fix for ast test failures from attribute error 2018-10-16 14:16:17 -04:00
Jared Crawford
0809502e20 Fix issues #2584 and #2430 2018-09-29 01:55:30 -07:00
Anthony Scopatz
634a8ec9f2 black tests 2018-08-30 09:18:49 -05:00
Anthony Scopatz
9f355b140c lambda AST fixes 2018-04-03 21:57:30 -04:00
Anthony Scopatz
bdd0ecbe5c fix windows tests 2017-03-02 23:25:30 -05:00
Anthony Scopatz
27437a4913 fixed issue with accidentally wrapping generators in function calls 2016-09-09 19:07:41 -04:00
Anthony Scopatz
7837563baf check all names 2016-08-21 14:58:07 -04:00
Anthony Scopatz
c8727f17b3 Added function arguments to scope 2016-08-19 01:45:44 -04:00
laerus
bea8c62829 tests bugs fixing/test_parser & test_tools to go 2016-07-01 21:52:37 +03:00
Gil Forsyth
81ab922a12 port ast and contexts to pytest 2016-06-22 17:12:33 -04:00
Anthony Scopatz
2e2e39a540 increment line numbers on transformation 2016-06-10 02:50:56 -04:00
Anthony Scopatz
d1ec37f914 not working yet 2016-06-05 14:32:59 -04:00