Skip to content

Commit f13d47a

Browse files
committed
debug
1 parent fb13dc8 commit f13d47a

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

fipy/matrices/scipyMatrix.py

+2
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,9 @@ def __init__(self, mesh):
627627
_ScipyIdentityMatrix.__init__(self, size=mesh.numberOfCells)
628628

629629
def _test():
630+
print('in scipyMatrix.py _test')
630631
import fipy.tests.doctestPlus
632+
print('fipy.tests.doctestPlus.__path__:', fipy.tests.doctestPlus.__path__)
631633
return fipy.tests.doctestPlus.testmod()
632634

633635
if __name__ == "__main__":

fipy/tests/test.py

+9-6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import warnings
99
import sys
1010

11+
print('imported test.py')
12+
1113
__all__ = ["DeprecationErroringTestProgram", "test"]
1214
__all__ = [text_to_native_str(n) for n in __all__]
1315

@@ -172,6 +174,7 @@ def printPackageInfo(self):
172174
print()
173175

174176
def run_tests(self):
177+
print('run_tests 0')
175178
import sys
176179
if self.Trilinos or self.trilinos or self.no_pysparse:
177180
try:
@@ -188,7 +191,7 @@ def run_tests(self):
188191
except ImportError as a:
189192
print("!!! Trilinos library is not installed", file=sys.stderr)
190193
return
191-
194+
print('run_tests 1')
192195
if self.pyamgx:
193196
try:
194197
## Unregister the function pyamgx.finalize
@@ -209,24 +212,24 @@ def run_tests(self):
209212
except ImportError as e:
210213
print("!!! pyamgx package is not installed", file=sys.stederr)
211214
return
212-
215+
print('run_tests 2')
213216
if self.inline:
214217
try:
215218
import weave
216219
except ImportError as a:
217220
print("!!! weave library is not installed", file=sys.stderr)
218221
return
219-
222+
print('run_tests 3')
220223
if self.pythoncompiled is not None:
221224
import os
222225
os.environ['PYTHONCOMPILED'] = self.pythoncompiled
223-
226+
print('run_tests 4')
224227
self.printPackageInfo()
225-
228+
print('run_tests 5')
226229
from pkg_resources import EntryPoint
227230
loader_ep = EntryPoint.parse("x="+self.test_loader)
228231
loader_class = loader_ep.load(require=False)
229-
232+
print('run_tests 6')
230233
from fipy.tools import numerix
231234

232235
import sys

0 commit comments

Comments
 (0)