From 11d79f4286574470ec6b8f74265346c146433cd4 Mon Sep 17 00:00:00 2001 From: Stefan Nordhausen Date: Tue, 24 Jan 2012 10:42:59 +0100 Subject: 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__"...' --- repoze/lru/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 repoze/lru/tests.py diff --git a/repoze/lru/tests.py b/repoze/lru/tests.py old mode 100755 new mode 100644 index 85496a8..e370ea4 --- 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() -- cgit v1.2.1