Skip to content

Commit 5d50c3c

Browse files
Remove unnecessary f-string
1 parent 282ddb2 commit 5d50c3c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/properties_dictionary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def put(self, new_property_value):
7777
app, labthing = create_app(
7878
__name__,
7979
prefix="/api",
80-
title=f"My Lab Device API",
80+
title="My Lab Device API",
8181
description="Test LabThing-based API",
8282
version="0.1.0",
8383
)

examples/simple_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get(self):
128128
app, labthing = create_app(
129129
__name__,
130130
prefix="/api",
131-
title=f"My Lab Device API",
131+
title="My Lab Device API",
132132
description="Test LabThing-based API",
133133
version="0.1.0",
134134
)

tests/test_server_default_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def task_func():
4444

4545
def test_task_representation_missing(thing_client):
4646
with thing_client as c:
47-
assert c.get(f"/tasks/missing_id").status_code == 404
47+
assert c.get("/tasks/missing_id").status_code == 404
4848

4949

5050
def test_task_kill(thing_client):
@@ -68,4 +68,4 @@ def task_func():
6868

6969
def test_task_kill_missing(thing_client):
7070
with thing_client as c:
71-
assert c.delete(f"/tasks/missing_id").status_code == 404
71+
assert c.delete("/tasks/missing_id").status_code == 404

0 commit comments

Comments
 (0)