Commit graph

58 commits

Author SHA1 Message Date
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
12c8990e53 Fix f-string tests 2020-08-17 04:57:39 +02:00
Bob Hyman
a6bb5e2d56 Run (pure) flake8 in CI; deprecate config for pytest-flake8 2020-05-06 22:49:11 -04:00
Anthony Scopatz
bdf5c730b7 single blank line 2019-10-07 17:07:42 -04:00
Morten Enemark Lund
ea21723dd8 Remove reference to win_unicode_console in tets 2019-10-07 22:23:06 +02:00
Anthony Scopatz
e84bb926ea try to fix tests 2018-11-19 21:56:58 -05:00
Anthony Scopatz
b32823d236 replace yield fixtures 2018-11-19 20:22:18 -05:00
Mickaël Schoentgen
ba2fd9bb00 Fix several ResourceWarning: unclosed file in tests 2018-11-09 10:08:03 +01:00
Anthony Scopatz
2d41c591a5 try more attachments and fix further deps warnings 2018-10-11 12:16:31 -04:00
Anthony Scopatz
579ccd07d9 deprecation warning fixes 2018-10-11 12:04:48 -04:00
Anthony Scopatz
147ee78cdb test fixes 2018-10-11 11:22:57 -04:00
Anthony Scopatz
2736a4d187 flake fixes 2018-10-01 18:10:18 -04:00
Anthony Scopatz
61c27ec365 many fixes 2018-10-01 15:48:47 -04:00
Anthony Scopatz
7423238f94 more fixes 2018-10-01 15:31:37 -04:00
Anthony Scopatz
4c91df2abc many test fixes 2018-09-13 14:03:35 -04:00
Anthony Scopatz
634a8ec9f2 black tests 2018-08-30 09:18:49 -05:00
laerus
4a2ff3aa58 conftest xonsh_builtins teardown 2017-02-27 21:44:58 +02:00
Morten Enemark Lund
e78b0448a7 Don't import xonsh.built_ins 2017-02-14 21:29:44 +01:00
Morten Enemark Lund
4f09829fd6 Fix monkeypath load_builins 2017-02-14 21:02:04 +01:00
Anthony Scopatz
3d20fc04de no history 2017-02-13 01:04:56 -05:00
Anthony Scopatz
419984beca new ctx 2017-02-13 00:50:31 -05:00
Anthony Scopatz
773069c4f5 Xonsh startup loading refactor 2017-02-13 00:25:38 -05:00
Jamie Bliss
1a5d832ffe Use the species nomenclature throughout. 2017-01-12 13:29:15 -05:00
Jamie Bliss
972ae6e689 Merge remote-tracking branch 'upstream/master' into event-transform_command 2017-01-12 13:22:23 -05:00
Anthony Scopatz
fa3730cf44 rewrite of xonsh contexts to be based off of macros. 2017-01-10 01:58:21 -05:00
Jamie Bliss
a106e33faf Use the right subclass 2017-01-09 01:52:48 -05:00
Jamie Bliss
793101c387 Move events reset to pytest fixture 2017-01-08 20:31:39 -05:00
Jamie Bliss
66e92d3641 Reset event state after tests. 2017-01-07 15:30:50 -05:00
laerus
b7a1ed4721 added git/hg repos for testing 2016-11-14 21:09:25 +02:00
Gil Forsyth
29af833ad8 fix remaining pep8 violations 2016-10-07 10:57:31 -04:00
Anthony Scopatz
afccd10b6a minor cleanup 2016-09-25 16:40:40 -04:00
Anthony Scopatz
861aedfc4d some minor cleanup 2016-09-24 16:13:14 -04:00
Anthony Scopatz
bde2f985e6 try clearing tasks 2016-09-24 16:09:01 -04:00
Anthony Scopatz
51866ee92e try different singleton 2016-09-24 16:05:48 -04:00
Anthony Scopatz
2ebd81e2b0 some test fixes 2016-09-24 15:28:12 -04:00
Anthony Scopatz
046a1160bc merge from master 2016-09-21 19:57:54 -04:00
Morten Enemark Lund
4d84a5dbc9 Updates from review 2016-09-11 10:11:41 +02:00
Morten Enemark Lund
2c0d0442e0 Add PATHEXT to the xonsh_builtins.__xonsh_env__ on windows 2016-09-11 09:59:15 +02:00
Anthony Scopatz
2ad03a8164 more fixes 2016-09-09 00:58:32 -04:00
Anthony Scopatz
c5285a796a got some of it 2016-09-09 00:08:13 -04:00
Anthony Scopatz
71445888a9 some chanes 2016-09-08 21:40:18 -04:00
Morten Enemark Lund
f1dab1a853 pep8 2016-09-01 12:47:35 +02:00
Morten Enemark Lund
f8c8c519a3 Simplify code a bit 2016-09-01 12:03:55 +02:00
Morten Enemark Lund
87ec9e4c07 Disables win_unicode_console in tests if it is installed.
The packages collides with the pytest output capture and causes some tests to error.
2016-09-01 11:54:45 +02:00
Morten Enemark Lund
770a6f3864 Remove pytest plugin registration from conftest file. It is not necessary when registered in setup.py 2016-08-30 00:08:58 +02:00
Morten Enemark Lund
af232e47aa Flake 8 fixes 2016-08-29 21:24:14 +02:00
Morten Enemark Lund
fe4e7af4bb Moved plugin from conftest to its own module 2016-08-29 08:48:26 +02:00
Morten Enemark Lund
07f9c50e7e Added framework for collecting and running *.xsh files with py.test 2016-08-29 08:47:56 +02:00
Jamie Bliss
ab13740e13 PEP8 2016-08-27 21:24:27 -04:00
Jamie Bliss
ab6501748d Use singleton instance of EventManager 2016-08-27 12:21:15 -04:00