(self)
| 1088 | self.assertEqual(result, expected) |
| 1089 | |
| 1090 | def test_range_data(self): |
| 1091 | # Test that functions work with range objects. |
| 1092 | data = range(20, 50, 3) |
| 1093 | expected = self.func(list(data)) |
| 1094 | self.assertEqual(self.func(data), expected) |
| 1095 | |
| 1096 | def test_bad_arg_types(self): |
| 1097 | # Test that function raises when given data of the wrong type. |
nothing calls this directly
no test coverage detected