python3Packages.solidpython2: skip example 18 with missing reference fixture (#523370)

This commit is contained in:
Sandro 2026-05-24 11:09:56 +00:00 committed by GitHub
commit b3bb8a97d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,16 @@ diff --git a/tests/examples_test.py b/tests/examples_test.py
index 77204fd..9784389 100644
--- a/tests/examples_test.py
+++ b/tests/examples_test.py
@@ -48,14 +48,19 @@ class ExamplesTest(unittest.TestCase):
@@ -41,6 +41,8 @@ class ExamplesTest(unittest.TestCase):
continue
if f.stem.endswith(".x"):
continue
+ if f.stem.startswith("18-"):
+ continue
test_scad_file = root / "tests" / "examples_scad" \
/ f.with_suffix('.scad').name
@@ -48,14 +50,19 @@ class ExamplesTest(unittest.TestCase):
subprocess.check_call(["python3", f.as_posix()])
# copy generated scad file to examples_scad/
copyWithRelativeIncludes(f.with_suffix(".scad"), test_scad_file)