hy/tests/native_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
..
2018-02-06 23:41:12 -05:00
2018-03-31 02:43:53 -04:00
2018-07-24 09:19:37 -07:00
2018-01-01 10:38:33 -05:00
2018-04-21 12:25:29 -07:00
2018-01-01 10:38:33 -05:00
2018-01-01 10:38:33 -05:00