We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e5f33 commit 2624df2Copy full SHA for 2624df2
tests/docs/test_examples.py
@@ -8,8 +8,6 @@
8
9
from baybe._optional.info import CHEM_INSTALLED, ONNX_INSTALLED
10
11
-from ..conftest import _onnx_issue
12
-
13
# Run these tests in reduced settings
14
_SMOKE_TEST_CACHE = os.environ.get("SMOKE_TEST", None)
15
os.environ["SMOKE_TEST"] = "true"
@@ -22,19 +20,7 @@
22
20
@pytest.mark.skipif(
23
21
not (CHEM_INSTALLED and ONNX_INSTALLED), reason="skipped for core tests"
24
)
25
-@pytest.mark.parametrize(
26
- "example",
27
- [
28
- pytest.param(
29
- p,
30
- marks=[pytest.mark.xfail(reason=_onnx_issue, strict=True)]
31
- if "custom_pretrained" in p
32
- else [],
33
- )
34
- for p in paths
35
- ],
36
- ids=paths,
37
-)
+@pytest.mark.parametrize("example", paths, ids=paths)
38
def test_example(example: str):
39
"""Test an individual example by running it.
40
0 commit comments