python: Fix invalid escape sequences
[samba.git] / python / samba / tests / samba_tool / gpo.py
index e49944c204d18aa84010ce7718b6c5270e6b7b79..654f254de7dc3e6d56cd5dbd7b22332c06972faa 100644 (file)
@@ -1806,7 +1806,7 @@ class GpoCmdTestCase(SambaToolCmdTest):
                           'The test cse was not enabled')
             self.assertIn('UserPolicy         : False', out,
                           'The test cse should not have User policy enabled')
-            cse_ext = re.findall('^UniqueGUID\s+:\s+(.*)', out)
+            cse_ext = re.findall(r'^UniqueGUID\s+:\s+(.*)', out)
             self.assertEquals(len(cse_ext), 1,
                               'The test cse GUID was not found')
             cse_ext = cse_ext[0]