/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_source.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2018-11-16 19:26:12 UTC
  • mfrom: (7169.2.5 unlazy_reg)
  • Revision ID: breezy.the.bot@gmail.com-20181116192612-vamnvwsntq1hwupu
Remove replacement of re.compile for lazy_regexp

Merged from https://code.launchpad.net/~gz/brz/unlazy_reg/+merge/358919

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
            self.fail('\n\n'.join(problems))
326
326
 
327
327
    def test_flake8(self):
328
 
        # Disable lazy_regex, since flake8 uses sre_compile which can't handle
329
 
        # lazy_regex compile objects.
330
 
        from .. import lazy_regex
331
 
        lazy_regex.reset_compile()
332
 
        self.addCleanup(lazy_regex.install_lazy_compile)
333
328
        self.requireFeature(features.flake8)
334
329
        # Older versions of flake8 don't support the 'paths'
335
330
        # variable