Return int data for various tests.
(self)
| 1044 | self.assertRaises(statistics.StatisticsError, self.func, empty) |
| 1045 | |
| 1046 | def prepare_data(self): |
| 1047 | """Return int data for various tests.""" |
| 1048 | data = list(range(10)) |
| 1049 | while data == sorted(data): |
| 1050 | random.shuffle(data) |
| 1051 | return data |
| 1052 | |
| 1053 | def test_no_inplace_modifications(self): |
| 1054 | # Test that the function does not modify its input data. |
no test coverage detected