You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kodi Arfer edited this page Apr 21, 2024
·
1 revision
If it takes some adjustments to get some software or service, such as a specific Python package, to work well with Hy, describe the necessary adjustments here. For general advice on using Python from Hy, see the manual.
pytest
Use a conftest.pylike Hyrule's to collect tests from Hy files, and set the configuration option python_functionsas in Hyrule to collect tests with mangled names.
When listing a Hy file to run tests from on the command line, as in pytest tests/test_phooey.hy, use --assert=plain to keep pytest from interpreting the file as Python.