aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/f/f_string_without_interpolation.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/f/f_string_without_interpolation.py')
-rw-r--r--tests/functional/f/f_string_without_interpolation.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/f/f_string_without_interpolation.py b/tests/functional/f/f_string_without_interpolation.py
new file mode 100644
index 000000000..4d6e36634
--- /dev/null
+++ b/tests/functional/f/f_string_without_interpolation.py
@@ -0,0 +1,9 @@
+# pylint: disable=missing-module-docstring
+import math
+
+VALUE = 1
+
+print(f"some value {VALUE}")
+print(f'pi: {math.pi:.3f}')
+
+print(f"ERROR") # [f-string-without-interpolation]