Skip to content

Commit

Permalink
Annotate method so it doesn’t decrease coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Häcker committed Sep 15, 2017
1 parent 48faf82 commit 026d8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/interface/tests/test_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def test_unsubscribe_with_value_not_None_miss(self):
self.assertEqual(len(registry._subscribers), 2)

def _instance_method_notify_target(self):
pass
self.fail("Example method, not intended to be called.")

def test_unsubscribe_instance_method(self):
IB0, IB1, IB2, IB3, IB4, IF0, IF1, IR0, IR1 = _makeInterfaces()
Expand Down

0 comments on commit 026d8f1

Please sign in to comment.