summaryrefslogtreecommitdiff
path: root/tests/test_compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_compat.py')
-rw-r--r--tests/test_compat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_compat.py b/tests/test_compat.py
index 46fc7d944..4a14caedf 100644
--- a/tests/test_compat.py
+++ b/tests/test_compat.py
@@ -16,17 +16,17 @@ class TestUnboundMethods(unittest.TestCase):
self.assertTrue(is_unbound_method(NewStyle.run))
def test_normal_func_unbound(self):
- def func():
+ def func(): # pragma: no cover
return 'OK'
self.assertFalse(is_unbound_method(func))
class OldStyle:
- def run(self):
+ def run(self): # pragma: no cover
return 'OK'
class NewStyle(object):
- def run(self):
+ def run(self): # pragma: no cover
return 'OK'