Skip to content

Commit

Permalink
still #58, wrap delete temp file on windows with try/catch
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Mar 26, 2015
1 parent f213e1e commit f1f8ea1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/layers/hdf5-data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ function test_hdf5_data_layer_shuffle(backend::Backend, batch_size, async, n, T)

shutdown(backend, state)
rm(source_fn)
rm(h5fn)
try
rm(h5fn)
catch e
println(e)
end
end
function test_hdf5_data_layer_shuffle(backend::Backend, batch_size, n, T)
# do not run (non-async) HDF5 data layer shuffling on windows, because it is implemented
Expand Down

0 comments on commit f1f8ea1

Please sign in to comment.