diff options
-rw-r--r-- | tests/scanner/test_transformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/test_transformer.py b/tests/scanner/test_transformer.py index e766d61c..b45f532e 100644 --- a/tests/scanner/test_transformer.py +++ b/tests/scanner/test_transformer.py @@ -51,7 +51,7 @@ class TestIdentifierFilter(unittest.TestCase): r"-e 's/^test_t$/TestContext/' " \ r"-e 's/\(.*\)_t$/\1/' " \ r"-e 's/^test_/Test_/' " \ - r"-e 's/_\([a-z]\)/\u\1/g'" + r"-e 's/_\([a-z]\)/" + '\\u' + r"\1/g'" namespace = ast.Namespace('Test', '1.0') xformer = Transformer(namespace, identifier_filter_cmd=cmd) |