mirror of https://github.com/pyodide/pyodide.git
Mark pandas as XFAIL on chrome
This commit is contained in:
parent
02905d8ca5
commit
7553ab4bfe
|
@ -1,13 +1,18 @@
|
|||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.skip
|
||||
def test_pandas(selenium):
|
||||
def test_pandas(selenium, request):
|
||||
if 'chrome' in selenium.__class__.__name__.lower():
|
||||
request.applymarker(pytest.mark.xfail(
|
||||
run=False, reason='chrome not supported'))
|
||||
selenium.load_package("pandas")
|
||||
assert len(selenium.run("import pandas\ndir(pandas)")) == 179
|
||||
|
||||
|
||||
@pytest.mark.skip
|
||||
def test_extra_import(selenium):
|
||||
def test_extra_import(selenium, request):
|
||||
if 'chrome' in selenium.__class__.__name__.lower():
|
||||
request.applymarker(pytest.mark.xfail(
|
||||
run=False, reason='chrome not supported'))
|
||||
|
||||
selenium.load_package("pandas")
|
||||
selenium.run("from pandas import Series, DataFrame, Panel")
|
||||
|
|
Loading…
Reference in New Issue