Skip to content

Commit

Permalink
Made tests python2.6 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Guenther committed Apr 13, 2015
1 parent 3ebf336 commit fca7bfe
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions bob/ip/base/test/test_lbp.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,11 +762,9 @@ def test_lpb_top_with_radii():
op = bob.ip.base.LBPTop(lbp_xy, lbp_xt, lbp_yt)

# all other orders should raise
with nose.tools.assert_raises(RuntimeError) as exc:
op = bob.ip.base.LBPTop(lbp_xy, lbp_yt, lbp_xt)

with nose.tools.assert_raises(RuntimeError) as exc:
op = bob.ip.base.LBPTop(lbp_xt, lbp_yt, lbp_xy)
nose.tools.assert_raises(RuntimeError, bob.ip.base.LBPTop, lbp_xy, lbp_yt, lbp_xt)
nose.tools.assert_raises(RuntimeError, bob.ip.base.LBPTop, lbp_xt, lbp_yt, lbp_xy)
nose.tools.assert_raises(RuntimeError, bob.ip.base.LBPTop, lbp_yt, lbp_xt, lbp_xy)


"""
Expand Down

0 comments on commit fca7bfe

Please sign in to comment.