diff --git a/test_module.py b/test_module.py index d7cf8a6..dc41e52 100644 --- a/test_module.py +++ b/test_module.py @@ -8,8 +8,8 @@ class DemographicAnalyzerTestCase(unittest.TestCase): def test_race_count(self): actual = self.data['race_count'].tolist() expected = [27816, 3124, 1039, 311, 271] - self.assertAlmostEqual(actual, expected, msg="Expected race count values to be [27816, 3124, 1039, 311, 271]") - + self.assertCountEqual(actual, expected, msg="Expected race count values to be [27816, 3124, 1039, 311, 271]") + def test_average_age_men(self): actual = self.data['average_age_men'] expected = 39.4