diff --git a/examples/conftest.py b/examples/conftest.py index e66981da6a..c47a095abf 100644 --- a/examples/conftest.py +++ b/examples/conftest.py @@ -1,4 +1,5 @@ import sys +import platform import pandas as pd from packaging.version import Version @@ -20,10 +21,20 @@ ] -# Pandas bug: https://github.com/pandas-dev/pandas/issues/52451 -if PD2 and sys.platform == "win32": +# 2022-07-14 with following error: +# ValueError: Buffer dtype mismatch, expected 'const int64_t' but got 'int' +if PD2 and platform.system() == "Windows": collect_ignore_glob += [ "gallery/demos/bokeh/point_draw_triangulate.ipynb", "reference/elements/*/TriMesh.ipynb", "user_guide/15-Large_Data.ipynb", ] + + +# 2022-07-14 with following error: +# 'from matplotlib.cbook import get_sample_data' cannot find file +if sys.version_info[:2] == (3, 8) and platform.system() == "Linux": + collect_ignore_glob += [ + "gallery/demos/*/bachelors_degrees_by_gender.ipynb", + "gallery/demos/*/topographic_hillshading.ipynb", + ]