diff options
| author | Tres Seaver <tseaver@palladion.com> | 2014-12-09 02:57:52 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2014-12-09 02:57:52 -0500 |
| commit | f325926418155b17660daf54ece46cb3e3b85fe9 (patch) | |
| tree | 67bf75fc7464cd1553d433f023482e5f56088283 /src/zope/interface/interface.py | |
| parent | b7a69e80cea0a9a7338558b4891ce3c69955e9e3 (diff) | |
| download | zope-interface-f325926418155b17660daf54ece46cb3e3b85fe9.tar.gz | |
100% branch coverage.
We exclude interfaces declared with the 'class' statement, because their
methods typically have only a doctstring in the suite, which confuses
the branch coverage machinery.
Diffstat (limited to 'src/zope/interface/interface.py')
| -rw-r--r-- | src/zope/interface/interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zope/interface/interface.py b/src/zope/interface/interface.py index 5526d2e..5a77adb 100644 --- a/src/zope/interface/interface.py +++ b/src/zope/interface/interface.py @@ -450,7 +450,7 @@ class InterfaceClass(Element, InterfaceBase, Specification): if errors: raise Invalid(errors) - def __repr__(self): # pragma NO COVER: + def __repr__(self): # pragma: no cover try: return self._v_repr except AttributeError: |
