@@ -855,9 +855,7 @@ def _expected_no_editor_error():
855855 """
856856EXCEPTION of type '{}' occurred with message: Please use 'set editor' to specify your text editing program of choice.
857857To enable full traceback, run the following command: 'set debug true'
858- """ .format (
859- expected_exception
860- )
858+ """ .format (expected_exception )
861859 )
862860
863861 return expected_text
@@ -1360,9 +1358,7 @@ def test_select_options(select_app, monkeypatch):
13601358 1. sweet
13611359 2. salty
13621360{} with salty sauce, yum!
1363- """ .format (
1364- food
1365- )
1361+ """ .format (food )
13661362 )
13671363
13681364 # Make sure our mock was called with the expected arguments
@@ -1388,9 +1384,7 @@ def test_select_invalid_option_too_big(select_app, monkeypatch):
13881384 2. salty
13891385'3' isn't a valid choice. Pick a number between 1 and 2:
13901386{} with sweet sauce, yum!
1391- """ .format (
1392- food
1393- )
1387+ """ .format (food )
13941388 )
13951389
13961390 # Make sure our mock was called exactly twice with the expected arguments
@@ -1419,9 +1413,7 @@ def test_select_invalid_option_too_small(select_app, monkeypatch):
14191413 2. salty
14201414'0' isn't a valid choice. Pick a number between 1 and 2:
14211415{} with sweet sauce, yum!
1422- """ .format (
1423- food
1424- )
1416+ """ .format (food )
14251417 )
14261418
14271419 # Make sure our mock was called exactly twice with the expected arguments
@@ -1445,9 +1437,7 @@ def test_select_list_of_strings(select_app, monkeypatch):
14451437 1. math
14461438 2. science
14471439Good luck learning {}!
1448- """ .format (
1449- 'science'
1450- )
1440+ """ .format ('science' )
14511441 )
14521442
14531443 # Make sure our mock was called with the expected arguments
@@ -1468,9 +1458,7 @@ def test_select_list_of_tuples(select_app, monkeypatch):
14681458 1. Netflix
14691459 2. WebSurfing
14701460Have fun procrasinating with {}!
1471- """ .format (
1472- 'YouTube'
1473- )
1461+ """ .format ('YouTube' )
14741462 )
14751463
14761464 # Make sure our mock was called with the expected arguments
@@ -1491,9 +1479,7 @@ def test_select_uneven_list_of_tuples(select_app, monkeypatch):
14911479 1. Electric Guitar
14921480 2. Drums
14931481Charm us with the {}...
1494- """ .format (
1495- 'Drums'
1496- )
1482+ """ .format ('Drums' )
14971483 )
14981484
14991485 # Make sure our mock was called with the expected arguments
@@ -1523,9 +1509,7 @@ def test_select_return_type(select_app, monkeypatch, selection, type_str):
15231509 2. String
15241510 3. Method
15251511The return type is {}
1526- """ .format (
1527- type_str
1528- )
1512+ """ .format (type_str )
15291513 )
15301514
15311515 # Make sure our mock was called with the expected arguments
0 commit comments