summaryrefslogtreecommitdiff
path: root/tests/extmod/ure_sub.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/ure_sub.py')
-rw-r--r--tests/extmod/ure_sub.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/extmod/ure_sub.py b/tests/extmod/ure_sub.py
index 4aeb8650a..f5a19af8d 100644
--- a/tests/extmod/ure_sub.py
+++ b/tests/extmod/ure_sub.py
@@ -27,11 +27,11 @@ print(re.sub('a', A(), 'aBCBABCDabcda.'))
print(
re.sub(
- r'def\s+([a-zA-Z_][a-zA-Z_0-9]*)\s*\(\s*\):',
- 'static PyObject*\npy_\\1(void){\n return;\n}\n',
+ r'def\s+([a-zA-Z_][a-zA-Z_0-9]*)\s*\(\s*\):',
+ 'static PyObject*\npy_\\1(void){\n return;\n}\n',
'\n\ndef myfunc():\n\ndef myfunc1():\n\ndef myfunc2():'
)
-)
+)
print(
re.compile(