Granular.jl

Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log | Files | Refs | README | LICENSE

commit 6f10719ac711e7d10f5ed3f953e13c6b2f4e3a8f
parent 3475839403c99aad36840c8aaca9a09693611690
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Thu, 12 Oct 2017 15:21:54 -0400

explicitly refer to Base.UVError in attempt to alleviate travis-ci failure

Diffstat:
Msrc/io.jl | 2+-
Mtest/vtk.jl | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/io.jl b/src/io.jl @@ -930,7 +930,7 @@ function render(simulation::Simulation; pvpython::String="pvpython", try run(`$(pvpython) $(simulation.id)/$(simulation.id).py`) catch return_signal - if isa(return_signal, UVError) + if isa(return_signal, Base.UVError) error("`pvpython` was not found.") end end diff --git a/test/vtk.jl b/test/vtk.jl @@ -70,7 +70,7 @@ info("Testing Paraview rendering if `pvpython` is present") try run(`pvpython $(sim.id)/$(sim.id).py`) catch return_signal - if !isa(return_signal, UVError) + if !isa(return_signal, Base.UVError) @test isfile("$(sim.id)/$(sim.id).avi") end end @@ -81,7 +81,7 @@ SeaIce.writeParaviewPythonScript(sim, try run(`pvpython $(sim.id)/$(sim.id).py`) catch return_signal - if !isa(return_signal, UVError) + if !isa(return_signal, Base.UVError) @test isfile("$(sim.id)/$(sim.id).0000.png") @test isfile("$(sim.id)/$(sim.id).0014.png") SeaIce.render(sim)