@@ -1593,7 +1593,7 @@ def test_function_no_parameters(self):
1593
1593
1594
1594
with self .VerifiedFunction (self , ** kwargs ) as vf :
1595
1595
fn_meta = self .keyspace_function_meta [vf .signature ]
1596
- self .assertRegexpMatches (fn_meta .as_cql_query (), "CREATE FUNCTION.*%s\(\) .*" % kwargs ['name' ])
1596
+ self .assertRegexpMatches (fn_meta .as_cql_query (), r "CREATE FUNCTION.*%s\(\) .*" % kwargs ['name' ])
1597
1597
1598
1598
def test_functions_follow_keyspace_alter (self ):
1599
1599
"""
@@ -1641,12 +1641,13 @@ def test_function_cql_called_on_null(self):
1641
1641
kwargs ['called_on_null_input' ] = True
1642
1642
with self .VerifiedFunction (self , ** kwargs ) as vf :
1643
1643
fn_meta = self .keyspace_function_meta [vf .signature ]
1644
- self .assertRegexpMatches (fn_meta .as_cql_query (), "CREATE FUNCTION.*\) CALLED ON NULL INPUT RETURNS .*" )
1644
+ self .assertRegexpMatches (fn_meta .as_cql_query (), r "CREATE FUNCTION.*\) CALLED ON NULL INPUT RETURNS .*" )
1645
1645
1646
1646
kwargs ['called_on_null_input' ] = False
1647
1647
with self .VerifiedFunction (self , ** kwargs ) as vf :
1648
1648
fn_meta = self .keyspace_function_meta [vf .signature ]
1649
- self .assertRegexpMatches (fn_meta .as_cql_query (), "CREATE FUNCTION.*\) RETURNS NULL ON NULL INPUT RETURNS .*" )
1649
+ self .assertRegexpMatches (fn_meta .as_cql_query (),
1650
+ r"CREATE FUNCTION.*\) RETURNS NULL ON NULL INPUT RETURNS .*" )
1650
1651
1651
1652
1652
1653
class AggregateMetadata (FunctionTest ):
0 commit comments