Пример #1
0
 def test_assert_within_tolerance(self):
     assert_within_tolerance(5, 5.1, 0.2)
Пример #2
0
 def test_assert_within_tolerance(self):
     with assert_raises(AssertionError):
         assert_within_tolerance(5, 5.1, 0.01)