Skip to content

Commit

Permalink
Remove unnecessary f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
danpalmer committed Jan 4, 2018
1 parent 0446c06 commit ae33115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routemaster/config/tests/test_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ def test_environment_variables_override_config_file_for_database_config():

def test_raises_for_unparseable_database_port_in_environment_variable():
with mock.patch.dict(os.environ, {'DB_PORT': 'not an int'}):
with assert_config_error(f"Could not parse DB_PORT as an integer: 'not an int'."):
with assert_config_error("Could not parse DB_PORT as an integer: 'not an int'."):
load_config(yaml_data('realistic'))


def test_multiple_feeds_same_name_invalid():
with assert_config_error(f"Feeds must have unique names at state_machines.example.feeds"):
with assert_config_error("Feeds must have unique names at state_machines.example.feeds"):
load_config(yaml_data('multiple_feeds_same_name_invalid'))

0 comments on commit ae33115

Please sign in to comment.