Skip to content

Commit

Permalink
make regex string raw
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoely86 committed Aug 16, 2023
1 parent 33d354c commit 101e2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/module_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def test_module_extensions(self):
modgen = self.MODULE_GENERATOR_CLASS(eb)
desc = modgen.get_description()

self.assertFalse(re.search("\s*extensions\(", desc), "No extensions found in: %s" % desc)
self.assertFalse(re.search(r"\s*extensions\(", desc), "No extensions found in: %s" % desc)

def test_prepend_paths(self):
"""Test generating prepend-paths statements."""
Expand Down

0 comments on commit 101e2ae

Please sign in to comment.