Skip to content

Commit

Permalink
fix: bug in unit test
Browse files Browse the repository at this point in the history
This was discovered after the appropriate __init__.py file was added and this test actually ran with the rest of the unit tests for the first time.
  • Loading branch information
AdeelH committed Oct 7, 2021
1 parent be876bc commit 248e138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pytorch_learner/dataset/test_transform.py
Expand Up @@ -36,7 +36,7 @@ def test_box_format_conversions_xywh(self):
[.2, .3, .6, 1.],
], dtype=float)
boxes_albu = xywh_to_albu(boxes, (10, 10))
self.assertTrue(np.all(boxes_albu == boxes_albu_gt))
np.testing.assert_allclose(boxes_albu, boxes_albu_gt)


if __name__ == '__main__':
Expand Down

0 comments on commit 248e138

Please sign in to comment.