1 2 3 4 5 6 7 8 9 10 11 12
|
Index: h5py/h5py/tests/__init__.py
===================================================================
--- h5py.orig/h5py/tests/__init__.py 2025-10-27 21:25:39.760300764 +0100
+++ h5py/h5py/tests/__init__.py 2025-10-27 21:26:34.560692655 +0100
@@ -16,6 +16,6 @@
print("Tests require pytest, pytest not installed")
return 1
- cli = [sys.executable, "-m", "pytest", "--pyargs", "h5py"]
+ cli = [sys.executable, "-m", "pytest", "--pyargs", __name__.replace('.tests','')]
cli.extend(shlex.split(args))
return call(cli)
|