mirror of https://github.com/pyodide/pyodide.git
19 lines
577 B
Python
19 lines
577 B
Python
import pytest
|
|
|
|
|
|
def test_pandas(selenium, request):
|
|
if selenium.browser == 'chrome':
|
|
request.applymarker(pytest.mark.xfail(
|
|
run=False, reason='chrome not supported'))
|
|
selenium.load_package("pandas")
|
|
assert len(selenium.run("import pandas\ndir(pandas)")) == 179
|
|
|
|
|
|
def test_extra_import(selenium, request):
|
|
if selenium.browser == 'chrome':
|
|
request.applymarker(pytest.mark.xfail(
|
|
run=False, reason='chrome not supported'))
|
|
|
|
selenium.load_package("pandas")
|
|
selenium.run("from pandas import Series, DataFrame, Panel")
|