Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [bzrlib]% bzr cdiff
- === modified file 'bzrlib/tests/test_osutils.py'
- --- bzrlib/tests/test_osutils.py 2010-07-08 05:28:17 +0000
- +++ bzrlib/tests/test_osutils.py 2010-07-08 08:51:00 +0000
- @@ -27,6 +27,7 @@
- from bzrlib import (
- errors,
- + lazy_regex,
- osutils,
- symbol_versioning,
- tests,
- @@ -1717,6 +1718,10 @@
- def test_re_compile_checked_error(self):
- # like https://bugs.launchpad.net/bzr/+bug/251352
- +
- + # Due to possible test isolation error, re.compile is not lazy at
- + # this point. We re-install lazy compile.
- + lazy_regex.install_lazy_compile()
- err = self.assertRaises(
- errors.BzrCommandError,
- self._deprecated_re_compile_checked, '*', re.IGNORECASE, 'test case')
- [bzrlib]%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement