Fix error in python-3* that happens while checking branch name

This commit is contained in:
ZyX 2014-06-28 21:54:21 +04:00
parent 4d4da56838
commit d7d8108230
1 changed files with 1 additions and 1 deletions

View File

@ -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)