diff options
-rw-r--r-- | coverage/misc.py | 1 | ||||
-rw-r--r-- | test/__init__.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/coverage/misc.py b/coverage/misc.py index 329a8417..aa61fc98 100644 --- a/coverage/misc.py +++ b/coverage/misc.py @@ -53,6 +53,7 @@ def expensive(fn): """ attr = "_cache_" + fn.__name__ def _wrapped(self): + """Inner fn that checks the cache.""" if not hasattr(self, attr): setattr(self, attr, fn(self)) return getattr(self, attr) diff --git a/test/__init__.py b/test/__init__.py index e69de29b..5a0e30f4 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -0,0 +1 @@ +"""Automated tests. Run with nosetests.""" |