Skip to content

Commit

Permalink
Fix the failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Dec 19, 2024
1 parent 51244d5 commit f3da9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_codelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_region_codelist_nonexisting_country_name():

def test_directional_region_codelist_nonexisting_country_name():
"""Check that directional regions have defined origin and destination"""
with pytest.raises(ValueError, match="Region 'Germany' not .* 'Austria>Germany'"):
with pytest.raises(ValueError, match="Destination 'Germany' .* 'Austria>Germany'"):
RegionCodeList.from_directory(
"region",
MODULE_TEST_DATA_DIR
Expand Down

0 comments on commit f3da9a6

Please sign in to comment.