/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: Martin
  • Date: 2018-11-16 19:10:17 UTC
  • mto: This revision was merged to the branch mainline in revision 7177.
  • Revision ID: gzlist@googlemail.com-20181116191017-kyedz1qck0ovon3h
Remove lazy_regexp reset in bt.test_source

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