From 1a010b2c4950cd6e9d5c167ee8de3448dd3f51e4 Mon Sep 17 00:00:00 2001 From: PBM Date: Thu, 8 Jul 2021 12:21:38 +0200 Subject: [PATCH] fix: typos in README file and tests (#6) * test: fix typo in test assertion error message * docs: fix typo in README file --- README.md | 2 +- test_module.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b9c1303..3503261 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ You must use Pandas to answer the following questions: * What country has the highest percentage of people that earn >50K and what is that percentage? * Identify the most popular occupation for those who earn >50K in India. -Use the starter code in the file `demographic_data_anaylizer`. Update the code so all variables set to "None" are set to the appropriate calculation or code. Round all decimals to the nearest tenth. +Use the starter code in the file `demographic_data_analyzer`. Update the code so all variables set to "None" are set to the appropriate calculation or code. Round all decimals to the nearest tenth. Unit tests are written for you under `test_module.py`. diff --git a/test_module.py b/test_module.py index f35dab3..d7cf8a6 100644 --- a/test_module.py +++ b/test_module.py @@ -48,7 +48,7 @@ class DemographicAnalyzerTestCase(unittest.TestCase): def test_highest_earning_country_percentage(self): actual = self.data['highest_earning_country_percentage'] expected = 41.9 - self.assertAlmostEqual(actual, expected, msg="Expected different value for heighest earning country percentage.") + self.assertAlmostEqual(actual, expected, msg="Expected different value for highest earning country percentage.") def test_top_IN_occupation(self): actual = self.data['top_IN_occupation']