Skip to content

Commit

Permalink
Fix astra_setup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kohr-h committed Nov 5, 2019
1 parent 2742a97 commit 40dadda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odl/test/tomo/backends/astra_setup_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_astra_projection_geometry():
# Parallel 2D geometry
geom_p2d = odl.tomo.Parallel2dGeometry(apart, dpart)
astra_geom = astra_projection_geometry(geom_p2d)
if odl.tomo.astra_supports('par2d_vec_geometry'):
if astra_supports('par2d_vec_geometry'):
assert astra_geom['type'] == 'parallel_vec'
else:
assert astra_geom['type'] == 'parallel'
Expand Down

0 comments on commit 40dadda

Please sign in to comment.