From d7d8108230e18c1984d9443152ad4abd04f53d4f Mon Sep 17 00:00:00 2001 From: ZyX Date: Sat, 28 Jun 2014 21:54:21 +0400 Subject: [PATCH] Fix error in python-3* that happens while checking branch name --- tests/test_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_lib.py b/tests/test_lib.py index 4e108e09..b554f004 100644 --- a/tests/test_lib.py +++ b/tests/test_lib.py @@ -519,7 +519,7 @@ class TestVCS(TestCase): call(['git', 'checkout', '-q', 'branch2'], cwd=GIT_REPO) self.do_branch_rename_test(repo, 'branch2') call(['git', 'checkout', '-q', '--detach', 'branch1'], cwd=GIT_REPO) - self.do_branch_rename_test(repo, lambda b: re.match(r'^[a-f0-9]+$', b)) + self.do_branch_rename_test(repo, lambda b: re.match(br'^[a-f0-9]+$', b)) finally: call(['git', 'checkout', '-q', 'master'], cwd=GIT_REPO)