Michael Droettboom
56ee2e6856
Merge pull request #136 from rth/load-packages-multiple
...
Load multiple packages in pyodide.loadPackage
2018-09-05 08:04:26 -04:00
Roman Yurchak
ed3e0c5499
TST Load multiple dependent and independent packages
...
Also remove the (failing) tests with simultaneous package loading
2018-09-04 17:02:50 +02:00
Roman Yurchak
82a625641b
Better tests when loading multiple packages
2018-09-03 15:59:21 +02:00
Roman Yurchak
82cd3e4576
Allow array input in pyodide.loadPackage
2018-09-03 15:23:54 +02:00
Roman Yurchak
86497e9818
Remove prints used for debugging
2018-09-03 10:29:36 +02:00
Roman Yurchak
4404274eef
Package nose
2018-09-03 10:29:36 +02:00
Roman Yurchak
4dd93ca99a
Testing pytest
2018-09-03 10:29:36 +02:00
Roman Yurchak
11fcaf8da6
Throw error on invalid packages
2018-08-29 11:22:43 +03:00
Roman Yurchak
c9d5ba3c8e
Better logs when PyodideInited() or PackageLoaded() fails on Chrome
2018-08-28 18:24:48 +03:00
Roman Yurchak
f35aa2eede
More review comments
2018-08-28 17:59:13 +03:00
Roman Yurchak
5030eae5b7
Re-use built-in web server
2018-08-28 17:59:13 +03:00
Roman Yurchak
ff45a550a6
Flake8 and store artefacts in CircleCI
2018-08-28 17:59:13 +03:00
Roman Yurchak
068906bbf7
Unit tests for loading packages from user defined URLs
2018-08-28 17:59:13 +03:00
Roman Yurchak
4f665e0a3a
Validate package URI
2018-08-28 17:58:56 +03:00
Roman Yurchak
f50275335d
Checking valid package name / url
2018-08-28 17:58:56 +03:00
Roman Yurchak
bfd0e58631
Address review comments
2018-08-28 16:20:35 +03:00
Roman Yurchak
153c6324b9
Copy test data in a pytest fixture
2018-08-28 14:42:14 +03:00
Roman Yurchak
0b752777a2
Don't use pytest-rerunfailures
2018-08-22 12:43:07 +03:00
Roman Yurchak
e2a723de5f
Don't run xfail tests
2018-08-22 12:42:22 +03:00
Roman Yurchak
396ca9cfcc
Fix typo and more passing tests
2018-08-21 11:09:34 +03:00
Roman Yurchak
02b61eea62
Use selenium.browser in test_run_core_python_test
2018-08-21 11:09:34 +03:00
Roman Yurchak
f0b9cf1c51
Run CPython tests that used to crash and now pass
2018-08-21 11:09:34 +03:00
Roman Yurchak
16ff5aaeef
Add browser attribute in selenium fixture
2018-08-21 11:09:34 +03:00
Roman Yurchak
7553ab4bfe
Mark pandas as XFAIL on chrome
2018-08-21 11:08:47 +03:00
Roman Yurchak
02905d8ca5
Show pytest report for skipped tests, XFAIL, XPASS
2018-08-21 11:08:47 +03:00
Roman Yurchak
22ecc34847
Supporting Chrome/Firefox specific failures
2018-08-21 11:08:47 +03:00
Roman Yurchak
30195bfa8a
Marking known failures in test_run_core_python_test
2018-08-21 11:08:47 +03:00
Roman Yurchak
ee8ac7471e
Fix matplotlib and mark test_rlcompleter as crashing
2018-08-20 23:29:26 +03:00
Roman Yurchak
ce15a29157
Fix matplotlib tests
2018-08-20 20:10:32 +03:00
Roman Yurchak
9245f6f246
More generic selenium fixture caching mechanism
2018-08-20 20:02:12 +03:00
Roman Yurchak
6b51f3a21e
Cache selenium fixture at the module level
2018-08-20 18:50:25 +03:00
Roman Yurchak
af8058c41d
Fix package name / import name issue
2018-08-17 10:37:10 +03:00
Roman Yurchak
6d6f60e84f
Mark pandas as a known failure on Chrome
2018-08-16 12:39:51 +03:00
Roman Yurchak
076e9bb083
Address review comments
2018-08-07 08:24:22 +03:00
Roman Yurchak
f38e01e475
Mechanism for testing imports
2018-08-07 08:24:22 +03:00
Michael Droettboom
154a65ff7b
Add missing import
2018-08-06 15:01:59 -04:00
Michael Droettboom
6c8c599dce
Automatically retry failed tests
2018-08-06 14:29:19 -04:00
Michael Droettboom
fa23049e0c
Minor fixups from pull request
2018-08-06 10:01:28 -04:00
Michael Droettboom
2d0b9ee23a
Use pathlib for path manipulations
2018-08-03 17:11:38 -04:00
Michael Droettboom
779da3cd4e
Merge pull request #96 from mdboom/fix93-string-decoding
...
Fix #93 by avoiding use of TextDecoder
2018-07-30 15:37:20 -04:00
Michael Droettboom
a07b6f3913
Fix #93 by avoiding use of TextDecoder
...
Any use of TextDecoder on a part of the Wasm HEAP seems to cause crashes
when using WebAssembly.instantiate later on (in Chrome).
The fix is to:
- Avoid use of TextDecoder in emscripten-generated code by setting
-s TEXTDECODER=0
- Do the Python-to-JS string conversion a different way:
- Handle the native format of a Python Unicode string (which is either UCS1,
UCS 2 or UCS 4) directly. This has the added advantage of being
computationally simpler than encoding/decoding to/from UTF8.
2018-07-26 16:50:12 -04:00
Michael Droettboom
6c1b25101b
Fix some tests
2018-07-25 11:07:57 -04:00
Michael Droettboom
5c5bf6adf3
Obsoletes #22 . Include all codecs, since removing tests imp. size.
2018-07-25 07:27:15 -04:00
Michael Droettboom
144e6f04bc
LINT
2018-07-24 13:02:49 -04:00
Michael Droettboom
876c9a5bc0
Turn off full Python tests
2018-07-24 12:59:03 -04:00
Michael Droettboom
9d74363275
Turn on core Python tests
2018-07-23 12:43:08 -04:00
Michael Droettboom
1aa2fc1265
LINT
2018-07-23 11:39:10 -04:00
Michael Droettboom
59bf78f93c
Decrease Python call stack size so it doesn't exceed JS call stack
2018-07-23 11:38:51 -04:00
Michael Droettboom
565548c9fd
LINT
2018-07-17 12:46:02 -04:00
Michael Droettboom
66e811dac1
Don't copy data if already on the WASM heap
2018-07-17 10:38:59 -04:00