Skip to content

Commit

Permalink
Fix print statements for Py3k
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Jan 27, 2020
1 parent 4571de9 commit 5946f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/diffusion/steadyState/mesh20x20/modifiedMeshInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
>>> from fipy import input
>>> x = mesh.cellCenters[0] # doctest: +GMSH
>>> analyticalArray = valueLeft + (valueRight - valueLeft) * x / Lx # doctest: +GMSH
>>> print var.allclose(analyticalArray, atol=0.025) # doctest: +GMSH
>>> print(var.allclose(analyticalArray, atol=0.025)) # doctest: +GMSH
True
>>> errorVar = abs(var - analyticalArray)
Expand All @@ -55,7 +55,7 @@
>>> NonOrthoVar = CellVariable(name="non-orthogonality",
... mesh=mesh,
... value=mesh._nonOrthogonality)
>>> print max(NonOrthoVar) < 0.51 # doctest: +GMSH
>>> print(max(NonOrthoVar) < 0.51) # doctest: +GMSH
True
>>> if __name__ == '__main__':
Expand Down

0 comments on commit 5946f8c

Please sign in to comment.