hy/tests
Brandon T. Willard 87a5b117a1 Implement new importer using PEP-302 semantics
Python 3.x is patched in a way that integrates `.hy` source files into
Pythons default `importlib` machinery.  In Python 2.7, a PEP-302 "importer"
and "loader" is implemented according to the standard `import` logic (via
`pkgutil` and later pure-Python `imp` package code).

In both cases, the entry-point for the loaders is through `sys.path_hooks` only.
As well, the import semantics have been updated all throughout to utilize
`importlib` and follow aspects of PEP-420.  This, along with some light
patches, should allow for basic use of `runpy`, `py_compile` and `reload`.

In all cases, if a `.hy` file is shadowed by a `.py`, Hy will silently use
`.hy`.
2018-08-25 22:50:38 -05:00
..
compilers Implement new importer using PEP-302 semantics 2018-08-25 22:50:38 -05:00
importer Implement new importer using PEP-302 semantics 2018-08-25 22:50:38 -05:00
macros Update test_preprocessor_exceptions 2018-04-29 19:29:17 -07:00
native_tests Implement new importer using PEP-302 semantics 2018-08-25 22:50:38 -05:00
resources Add a test for require in the body of a macro 2018-07-25 17:20:19 -05:00
__init__.py Migrate from Nose to pytest 2017-04-26 14:00:11 -07:00
test_bin.py Implement new importer using PEP-302 semantics 2018-08-25 22:50:38 -05:00
test_hy2py.py Add hy2py tests for empty data structures 2018-07-21 11:20:13 -07: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