/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/__init__.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 19:38:57 UTC
  • mfrom: (7143.16.21 even-more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116193857-bs5oma2655sp55qu
Fix another dozen flake8 errors.

Merged from https://code.launchpad.net/~jelmer/brz/even-more-cleanups/+merge/358931

Show diffs side-by-side

added added

removed removed

Lines of Context:
4276
4276
        # both options means we will load less tests for the same final result.
4277
4277
        def interesting_module(name):
4278
4278
            for start in starting_with:
4279
 
                if (
4280
 
                        # Either the module name starts with the specified string
4281
 
                        name.startswith(start)
4282
 
                    or                     # or it may contain tests starting with the specified string
4283
 
                        start.startswith(name)
4284
 
                        ):
 
4279
                # Either the module name starts with the specified string
 
4280
                # or it may contain tests starting with the specified string
 
4281
                if name.startswith(start) or start.startswith(name):
4285
4282
                    return True
4286
4283
            return False
4287
4284
        loader = TestUtil.FilteredByModuleTestLoader(interesting_module)