444
444
If a test can't be run, it can say that it's skipped. This is typically
445
445
used in parameterized tests - for example if a transport doesn't support
452
449
return self.branch_format.initialize(repo.bzrdir)
453
450
except errors.UninitializableFormat:
454
451
raise tests.TestSkipped('Uninitializable branch format')
456
457
A subtly different case is a test that should run, but can't run in the
457
458
current environment. This covers tests that can only run in particular
458
459
operating systems or locales, or that depend on external libraries. Here