hy/tests
Jakub Wilk 28504ba85d Catch IndentationError in isidentifier()
Fixes:

    >>> from hy._compat import isidentifier
    >>> isidentifier(u"  0\n 0")
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "hy/_compat.py", line 47, in isidentifier
        tokens = list(T.generate_tokens(StringIO(x).readline))
      File "/usr/lib/python2.7/tokenize.py", line 374, in generate_tokens
        ("<tokenize>", lnum, pos, line))
      File "<tokenize>", line 2
        0
        ^
    IndentationError: unindent does not match any outer indentation level
2018-11-27 17:15:21 -05:00
..
compilers Fix AST handling of docstrings and __future__ ordering 2018-09-11 16:26:21 -04:00
importer Produce Python AST for require statements and skip self requires 2018-11-08 22:57:17 -06:00
macros Produce Python AST for require statements and skip self requires 2018-11-08 22:57:17 -06:00
native_tests Catch IndentationError in isidentifier() 2018-11-27 17:15:21 -05:00
resources Implement minimal macro namespacing and add tests 2018-11-08 22:57:17 -06:00
__init__.py Migrate from Nose to pytest 2017-04-26 14:00:11 -07:00
test_bin.py Produce Python AST for require statements and skip self requires 2018-11-08 22:57:17 -06:00
test_hy2py.py Fix AST handling of docstrings and __future__ ordering 2018-09-11 16:26:21 -04:00
test_lex.py Remove tests of cons cells 2018-04-12 16:45:17 -07:00
test_models.py Remove tests of cons cells 2018-04-12 16:45:17 -07:00