Skip to content

Commit

Permalink
Update test template to remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
holm10 committed Dec 6, 2023
1 parent 1c82e10 commit f5a7361
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pytests/templates/tests/uedge_tst_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ def matches(save, refs, epsilon):
from uedge import bbb
recoverstate(save, refs)
fnrm = bbb.get_fnrm(bbb.dtreal)
print('TEST RESULTS')
print(' REFERENCE', refs['fnrm'][()])
print(' RESULT', fnrm)
return isclose(fnrm, refs['fnrm'][()], atol=0.0, rtol=epsilon)


Expand Down Expand Up @@ -104,7 +101,6 @@ def print_itroub(refs):
refs = f['pytests']
defref = refs['default']
if matches(f, defref, epsilon):
print('TEST SUCCEEDED')
# Turn output back on
try:
com.iprint = 1
Expand Down

0 comments on commit f5a7361

Please sign in to comment.