hy/tests
Simon Gomizelj b27cdfed69 Fix defclass construction
Python Class AST expects a body which is a list of ast.Expr. Force
every entry to be stored as a statement. This means we'll preserve
print statements.

Python also doesn't construct docstrings in classes by setting a
__doc__ attribute, it does it by inspecting the first ast.Expr node of
the class. But this means we can remove the special handler for it.
2018-03-31 02:43:53 -04:00
..
compilers Improve checks inside defclass 2018-03-31 02:43:53 -04:00
importer Update copyright years 2018-01-01 10:38:33 -05:00
macros Update copyright years 2018-01-01 10:38:33 -05:00
native_tests Fix defclass construction 2018-03-31 02:43:53 -04:00
resources Test module docstrings 2018-03-24 12:34:43 -07:00
__init__.py Migrate from Nose to pytest 2017-04-26 14:00:11 -07:00
test_bin.py Fix test_hy2py not respecting 'only_py36' 2018-03-22 13:27:56 -07:00
test_lex.py Overhaul mangling rules 2018-03-13 14:55:53 -04:00
test_models.py Update copyright years 2018-01-01 10:38:33 -05:00