clawpack/pyclaw — Issue #100: regression in test_examples.test_2D_acoustics_1a_parallel
Author: ahmadia
Created: 2011-11-24 06:30:57+00:00
State: open
Labels: priority, tests

ERROR: test_examples.test_2D_acoustics_1a_parallel('./test/acoustics/2d/homogeneous', 'classic2.so', 'acoustics', 'acoustics2D', , {'use_petsc': True, 'outdir': '/tmp/tmpZFP_Kr', 'nout': 10, 'solver_type': 'classic'})
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/aron/sandbox/clawpack/pyclaw/test/util.py", line 14, in build_run_verify
verify_it_parallel(run_method, method_name, module_name, verifier, options, path)
File "/home/aron/sandbox/clawpack/pyclaw/test/util.py", line 93, in verify_it_parallel
sys.stderr.write("output: %s\n" % output)
File "/home/aron/sandbox/clawpack/pyclaw/src/pyclaw/solution.py", line 302, in __str__
output = output + str(state)
File "/home/aron/sandbox/clawpack/pyclaw/src/pyclaw/state.py", line 106, in __str__
output += " t=%s meqn=%s\n " % (self.t,self.meqn)
UnboundLocalError: local variable 'output' referenced before assignment