Skip to content

Commit 4e73018

Browse files
committed
Replace missed f-string with format
1 parent 97ff354 commit 4e73018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
JSON_ERROR = 'JSON parse error - Expecting value:'
1717
STATUS_CODE_400 = 'Bad Request'
18-
REASON_PHRASE_RE = fr"{STATUS_CODE_400} \({JSON_ERROR}.*\)"
18+
REASON_PHRASE_RE = r"{} \({}.*\)".format(STATUS_CODE_400, JSON_ERROR)
1919
VALIDATION_ERROR = "Data isn't valid!"
2020

2121

0 commit comments

Comments
 (0)