Commit Graph

12 Commits

Author SHA1 Message Date
Hood Chatham 8ab07acadd
ENH Add support for pickling JsException (#2631) 2022-05-29 18:31:49 -07:00
Hood Chatham f3c844514e
MAINT Use new run_in_pyodide features for some type conversions tests (#2632)
This should improve the tests by quite a lot:

  *  assertions get formatted automatically
  *  many fewer doubly / triply nested eval strings
  *  IDE support for code formatting, syntax highlighting 
     (the IDEs are pretty confused about other stuff but still...)

Also, messing around with these type conversions tests is a
good way to find lots of bugs, cf my other PRs from 2022-05-27.
2022-05-28 21:18:08 -07:00
Hood Chatham d818f410c4
Use tblib to pickle errors in `run_in_pyodide` (#2619) 2022-05-27 12:28:46 -07:00
Hood Chatham ce3c90339c
MAINT `run_in_pyodide` fallback to not using pytest if it's not available (#2622) 2022-05-26 18:15:27 -07:00
Hood Chatham 45ee8ee62c
Add support for inner run_in_pyodide functions (#2618) 2022-05-26 14:27:07 -07:00
Hood Chatham cb65f45f12
MAINT Remove `driver_timeout` argument from `run_in_pyodide` in favor of `pytest.mark.driver_timeout` (#2615) 2022-05-26 14:26:24 -07:00
Hood Chatham 36dee13657
MAINT run_in_pyodide function should take selenium fixture as an explicit argument (#2617)
This updates run_in_pyodide to assume that the first argument of the function will be a selenium fixture.
2022-05-25 19:47:43 -07:00
Hood Chatham 8ed430d300
Allow using other decorators with `@run_in_pyodide` (#2541)
Allow using `pytest.mark.xfail`, `pytest.mark.parametrize`, hypothesis,
and other decorators in `run_in_pyodide` tests
2022-05-25 10:31:26 -07:00
Hood Chatham 088d6716b8
MAINT Refactor run_in_pyodide (#2606) 2022-05-24 13:34:28 -07:00
Hood Chatham 59d8ab241d
MAINT split test_testing into three files (#2601) 2022-05-23 19:45:25 -07:00
Hood Chatham ecaab15c12
Pytest rewrites for run_in_pyodide (#2510) 2022-05-08 18:43:26 -07:00
Gyeongjae Choi b20b43bd66
MAINT Split conftest.py into modules (#2418) 2022-05-08 16:52:08 +09:00