summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Nordhausen <nordhausen@linux-z4v3.site>2012-01-24 10:42:59 +0100
committerStefan Nordhausen <nordhausen@linux-z4v3.site>2012-01-24 10:42:59 +0100
commit11d79f4286574470ec6b8f74265346c146433cd4 (patch)
tree4ec08b5a099a69f0a40e61032c818dd910f2760a
parent6c21bd064daac0e13163d14bb8ed53a414fbf4cf (diff)
downloadrepoze-lru-11d79f4286574470ec6b8f74265346c146433cd4.tar.gz
Reach full statement coverage with nose
- chmod test.py from 755 to 644. Otherwise nosetests would not touch it and hence not reach much coverage. - Do not expect coverage for 'if __name__ == "__main__"...'
-rw-r--r--[-rwxr-xr-x]repoze/lru/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/lru/tests.py b/repoze/lru/tests.py
index 85496a8..e370ea4 100755..100644
--- a/repoze/lru/tests.py
+++ b/repoze/lru/tests.py
@@ -529,6 +529,6 @@ class DummyLRUCache(dict):
def put(self, k, v):
return self.__setitem__(k, v)
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
unittest.main()