hy/tests/compilers
Brandon T. Willard fb6feaf082 Improve correspondence with Python errors and console behavior
Compiler and command-line error messages now reflect their Python counterparts.
E.g. where Python emits a `SyntaxError`, so does Hy; same for `TypeError`s.
Multiple tests have been added that check the format and type of raised
exceptions over varying command-line invocations (e.g. interactive and not).

A new exception type for `require` errors was added so that they can be treated
like normal run-time errors and not compiler errors.

The Hy REPL has been further refactored to better match the class-structured
API.  Now, different error types are handled separately and leverage more base
class-provided functionality.

Closes hylang/hy#1486.
2019-02-07 13:45:41 -05:00
..
__init__.py Adding more testing. 2013-03-02 23:47:16 -05:00
test_ast.py Improve correspondence with Python errors and console behavior 2019-02-07 13:45:41 -05:00
test_compiler.py Update copyright years 2019-02-07 08:57:35 -05:00