Skip to content

Commit

Permalink
[Fix] tests which aren't completely converted to pytest
Browse files Browse the repository at this point in the history
Fix tests which are missed by @bmc in c0fc2e3 commit[1], to completely
convert all nose test to pytest [2].

[1]: bmc@c0fc2e3
[2]: bmc#32
  • Loading branch information
Vipul Kumar committed Sep 16, 2020
1 parent 9e7f30c commit f37e684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_munkres.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def float_example():
[10.4, 3.5, 2.6],
[8.7, 7.8, 4.9]]
cost = _get_cost(matrix)
assert_almost_equal(cost, 13.5)
assert cost == pytest.approx(13.5)

def test_5_x_5():
matrix = [[12, 9, 27, 10, 23],
Expand Down

0 comments on commit f37e684

Please sign in to comment.