Skip to content

Commit

Permalink
Fix expected key name
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Oct 30, 2023
1 parent 255494c commit a7596a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def test_stratify_w_name_map(self):
self.assertIn(original_name, sir_parameterized.initials)
for city in cities:
city_name = city_name_map.get(city, city)
key = f"{original_name}_{city_name}".replace(':', '_').replace(' ', '_')
key = f"{original_name}_{city_name}".replace(':', '_')
self.assertIn(key, actual.initials, msg=f"Key '{key}' not in initials")
# Cannot use .args[0] here as .args[0] not a primitive data type
self.assertEqual(
Expand Down

0 comments on commit a7596a3

Please sign in to comment.