Skip to content

Commit 43b9844

Browse files
authored
Convert f-strings to normal strings (#128)
Convert f-strings to normal strings when curly braces aren't used Related to #55 After this, we only have ruff error `F821` remaining, see this issue: #14
1 parent 8491bd3 commit 43b9844

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/struphy/kinetic_background/tests/test_maxwellians.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def test_maxwellian_3d_mhd(Nel, with_desc, show_plot=False):
294294
continue
295295

296296
if "GVECequilibrium" in key:
297-
print(f"Attention: GVEC not tested here !!")
297+
print("Attention: GVEC not tested here !!")
298298
# print("Attention: flat (marker) evaluation not tested for GVEC at the moment.")
299299
continue
300300

@@ -377,7 +377,7 @@ def test_maxwellian_3d_mhd(Nel, with_desc, show_plot=False):
377377

378378
# test flat evaluation
379379
if "GVECequilibrium" in key:
380-
print(f"Attention: GVEC not tested here !!")
380+
print("Attention: GVEC not tested here !!")
381381
# print("Attention: flat (marker) evaluation not tested for GVEC at the moment.")
382382
continue
383383
pass
@@ -1095,7 +1095,7 @@ def test_maxwellian_2d_mhd(Nel, with_desc, show_plot=False):
10951095
continue
10961096

10971097
if "GVECequilibrium" in key:
1098-
print(f"Attention: GVEC not tested here !!")
1098+
print("Attention: GVEC not tested here !!")
10991099
# print("Attention: flat (marker) evaluation not tested for GVEC at the moment.")
11001100
continue
11011101

@@ -1170,7 +1170,7 @@ def test_maxwellian_2d_mhd(Nel, with_desc, show_plot=False):
11701170

11711171
# test flat evaluation
11721172
if "GVECequilibrium" in key:
1173-
print(f"Attention: GVEC not tested here !!")
1173+
print("Attention: GVEC not tested here !!")
11741174
# print("Attention: flat (marker) evaluation not tested for GVEC at the moment.")
11751175
continue
11761176
pass

0 commit comments

Comments
 (0)