Skip to content

Commit 045b5ca

Browse files
committed
Run pyupgrade against the files modified in the merge-forward
1 parent 3f1309c commit 045b5ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pytests/unit/modules/test_vagrant.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_vagrant_init_positional(local_opts, tmp_path):
5959
different="very",
6060
)
6161
mock_sdb.assert_called_with(
62-
"sdb://vagrant_sdb_data/onetest?{}".format(path_nowhere),
62+
f"sdb://vagrant_sdb_data/onetest?{path_nowhere}",
6363
"test1",
6464
local_opts,
6565
)
@@ -138,7 +138,7 @@ def test_vagrant_destroy(local_opts, tmp_path):
138138
with patch.dict(vagrant.__utils__, {"sdb.sdb_get": mock_sdb_get}):
139139
assert vagrant.destroy("test4")
140140
mock_sdb.assert_any_call(
141-
"sdb://vagrant_sdb_data/macfour?{}".format(path_mydir),
141+
f"sdb://vagrant_sdb_data/macfour?{path_mydir}",
142142
local_opts,
143143
)
144144
mock_sdb.assert_any_call("sdb://vagrant_sdb_data/test4", local_opts)

0 commit comments

Comments
 (0)