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

  • Committer: Jelmer Vernooij
  • Date: 2019-06-02 02:35:46 UTC
  • mfrom: (7309 work)
  • mto: This revision was merged to the branch mainline in revision 7319.
  • Revision ID: jelmer@jelmer.uk-20190602023546-lqco868tnv26d8ow
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class TestOnlyRaisesDecorator(TestCase):
34
34
 
35
35
    def raise_ZeroDivisionError(self):
36
 
        1/0
 
36
        1 / 0
37
37
 
38
38
    def test_raises_approved_error(self):
39
39
        decorator = decorators.only_raises(ZeroDivisionError)