@@ -855,9 +855,7 @@ def _expected_no_editor_error():
855
855
"""
856
856
EXCEPTION of type '{}' occurred with message: Please use 'set editor' to specify your text editing program of choice.
857
857
To enable full traceback, run the following command: 'set debug true'
858
- """ .format (
859
- expected_exception
860
- )
858
+ """ .format (expected_exception )
861
859
)
862
860
863
861
return expected_text
@@ -1360,9 +1358,7 @@ def test_select_options(select_app, monkeypatch):
1360
1358
1. sweet
1361
1359
2. salty
1362
1360
{} with salty sauce, yum!
1363
- """ .format (
1364
- food
1365
- )
1361
+ """ .format (food )
1366
1362
)
1367
1363
1368
1364
# Make sure our mock was called with the expected arguments
@@ -1388,9 +1384,7 @@ def test_select_invalid_option_too_big(select_app, monkeypatch):
1388
1384
2. salty
1389
1385
'3' isn't a valid choice. Pick a number between 1 and 2:
1390
1386
{} with sweet sauce, yum!
1391
- """ .format (
1392
- food
1393
- )
1387
+ """ .format (food )
1394
1388
)
1395
1389
1396
1390
# 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):
1419
1413
2. salty
1420
1414
'0' isn't a valid choice. Pick a number between 1 and 2:
1421
1415
{} with sweet sauce, yum!
1422
- """ .format (
1423
- food
1424
- )
1416
+ """ .format (food )
1425
1417
)
1426
1418
1427
1419
# 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):
1445
1437
1. math
1446
1438
2. science
1447
1439
Good luck learning {}!
1448
- """ .format (
1449
- 'science'
1450
- )
1440
+ """ .format ('science' )
1451
1441
)
1452
1442
1453
1443
# Make sure our mock was called with the expected arguments
@@ -1468,9 +1458,7 @@ def test_select_list_of_tuples(select_app, monkeypatch):
1468
1458
1. Netflix
1469
1459
2. WebSurfing
1470
1460
Have fun procrasinating with {}!
1471
- """ .format (
1472
- 'YouTube'
1473
- )
1461
+ """ .format ('YouTube' )
1474
1462
)
1475
1463
1476
1464
# Make sure our mock was called with the expected arguments
@@ -1491,9 +1479,7 @@ def test_select_uneven_list_of_tuples(select_app, monkeypatch):
1491
1479
1. Electric Guitar
1492
1480
2. Drums
1493
1481
Charm us with the {}...
1494
- """ .format (
1495
- 'Drums'
1496
- )
1482
+ """ .format ('Drums' )
1497
1483
)
1498
1484
1499
1485
# 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):
1523
1509
2. String
1524
1510
3. Method
1525
1511
The return type is {}
1526
- """ .format (
1527
- type_str
1528
- )
1512
+ """ .format (type_str )
1529
1513
)
1530
1514
1531
1515
# Make sure our mock was called with the expected arguments
0 commit comments