1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Index: scotchpy/tests/test_dgraph.py
===================================================================
--- scotchpy.orig/tests/test_dgraph.py 2026-03-24 18:18:26.094623451 +0100
+++ scotchpy/tests/test_dgraph.py 2026-03-24 18:19:49.437574908 +0100
@@ -35,7 +35,10 @@
import scotchpy as SCOTCH
import numpy as np
import scotchpy.common as _common
-import scotchpy.dgraph as PTSCOTCH
+try:
+ import scotchpy.dgraph as PTSCOTCH
+except AttributeError:
+ pytest.skip('ptscotch not available', allow_module_level=True)
from scotchpy.common import _ptscotch_lib, _libptscotch_mpi4py_lib
import tempfile
import importlib.resources
|