Commit Graph

19 Commits

Author SHA1 Message Date
Hood Chatham b3a965a1f6
Don't automatically copy python objects into javascript (#1167)
* Don't automatically copy python objects into javascript, add new PyProxy.shallowCopyToJavascript and deepCopyToJavascript apis

* Lint

* Adjust conftest to automatically deep_copy results of run / run_async

* Update conftest again

* Fix deep/shallowCopyToJavascript

* Fix shallowCopyToJavascript and deepCopyToJavascript to return js object not hiwire id

* Fix the remaining tests (hopefully)

* Lint

* Fix more tests

* Fix some numpy tests

* Lint

* Fix more tests

* Lint

* Temporarily dummy out setLineDash since it breaks test

* Fix test_console

* Update changelog
2021-02-02 19:45:56 +01:00
Jan Max Meyer 81810a4c4b
Revert "Don't automatically copy python objects into javascript (#1152)" (#1165)
This reverts commit 6a44233562.
2021-01-22 18:22:31 +01:00
Hood Chatham 6a44233562
Don't automatically copy python objects into javascript (#1152)
* Don't automatically copy python objects into javascript, add new PyProxy.shallowCopyToJavascript and deepCopyToJavascript apis

* Lint

* Adjust conftest to automatically deep_copy results of run / run_async

* Update conftest again

* Fix deep/shallowCopyToJavascript

* Fix shallowCopyToJavascript and deepCopyToJavascript to return js object not hiwire id

* Fix the remaining tests (hopefully)

* Lint

* Fix more tests

* Fix some numpy tests

* Lint

* Fix more tests

* Lint

* Temporarily dummy out setLineDash since it breaks test
2021-01-22 12:28:22 +01:00
Dexter Chua 83a1d7b328
TST: Combine run_js_async and run_js (#1143) 2021-01-17 10:12:20 +01:00
Dexter Chua 293fefa7df
Don't print duplicate error message in chrome (#1144)
In chrome, the error message is contained in the stack. Avoid printing
it twice.
2021-01-16 13:50:40 +01:00
Dexter Chua d70c32e87a
TST Don't set stackTraceLimit twice (#1139)
We already set it during initialization
2021-01-15 10:41:36 +01:00
Hood Chatham 816aaa01ce
MAINT: Update conftest to check PyErr_Occurred (#1113) 2021-01-13 16:20:01 +08:00
Dexter Chua 65a9da04a3
Experimental new test system (#1047) 2021-01-11 18:25:55 +01:00
Dexter Chua 6ef0ebbfdf
Refactor conftest.py (#1055) 2021-01-06 23:29:10 +01:00
Hood Chatham 9eaf376b96
Detect pyodide.js failure in conftest.py (#995) 2021-01-04 14:16:28 +01:00
Hood Chatham eeaa3c3ecf
runPython refactoring (#923)
Co-authored-by: Dexter Chua <dec41@srcf.net>
2021-01-02 23:44:24 +01:00
Roman Yurchak 411a058d7b
TST Replace test CGI server with pytest-httpserver (#823) 2020-12-06 14:08:22 +01:00
Roman Yurchak 8c22c98a43
MAINT Reorganize src/ and tests/ folders (#786) 2020-11-09 13:28:02 +01:00
Roman Yurchak fc5495ffdb
Update to Python 3.8.2 (#712)
* Updating to CPython 3.8

* More fixes

* Skip python headers check in tools/dependency-check.sh

* Fix checksum

* Fix packages

* Fix syntax error

* Fix benchmark path

* Update CPython tests

* More test fixes

* Fix PyStone

* More Cpython test fixes

* Update docs

* Fix issue in conftest

* Add documentation

* Upload updated Docker image
2020-07-07 16:21:33 +02:00
Roman Yurchak 9afc7a1617
STY Apply black for code style (#702)
* Apply black

* A few fixes

* Relax flake8 checks

* Exclude tools/file_packager.py from black
2020-06-28 20:24:40 +02:00
Roman Yurchak 00ef8956f8
MAINT Remove pytest.ini (#664) 2020-05-18 21:22:48 +02:00
Roman Yurchak ac68a30511 Supporty custom wheel locations in micropip 2020-05-11 09:51:14 +02:00
Kevin Howell 402a30e59f
Increase the selenium timeout (#607)
I suspect this will fix recent PR failures that timeout on importing
statsmodels on Chrome.
2020-03-04 13:16:40 +01:00
Roman Yurchak 2cf8639973 MAINT Move package tests under packages/ dir (#471)
* Move package tests under the packages/ folder

* Fix tests
2019-06-19 14:26:08 -04:00