Hood Chatham

Results 1082 comments of Hood Chatham

Not yet. Locally the test passes if I do ``` pytest tests/test_doctest.py ``` but if I pass `-s` it fails...

But it looks like it's failing for an unrelated reason and the `test_doctest_run.py` behavior is as expected with two passes and a failure. Hmm.

Well I think actually the last fix on this branch may have worked. I'll have to investigate more if we want to include the entire node global scope. This turned...

Sounds like there is some overlap here with what I have been trying to do with my command line test runner, so that tests can be run like `python -m...

It's here: https://github.com/pyodide/pyodide/blob/main/tools/python and here to create the virtual environment: https://github.com/pyodide/pyodide/blob/main/pyodide-build/pyodide_build/out_of_tree/venv.py You can use it with `pyodide venv`

> I'd like to have the ability to use the node runner with extra packages required This would be useful for Pyodide itself cf #120 #121

Well the pickle problem is that we should export internal error to `pyodide.ffi.InternalError`. Can't pickle things you don't export.

I am pretty sure `InternalError` was never picklable, we just hadn't noticed since they are quite rare.

I guess we should copy that test into Pyodide `test_typeconversions`. Hypothesis is a beast!