From 1602cecded07961585838a31758147e76584e957 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 29 Dec 2015 17:23:54 -0500 Subject: Coverage improvements. * Boost coverage. * Don't report coverage on the test modules. * In one test, when acquiring the lock, set a timeout. Hopefully this will eliminate the occasional test deadlock. * Fix a buglet in wrap() --- src/mailman/utilities/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/utilities/modules.py') diff --git a/src/mailman/utilities/modules.py b/src/mailman/utilities/modules.py index 7fb695afe..35b9a752b 100644 --- a/src/mailman/utilities/modules.py +++ b/src/mailman/utilities/modules.py @@ -78,7 +78,7 @@ def scan_module(module, interface): for name in module.__all__: component = getattr(module, name, missing) assert component is not missing, ( - '%s has bad __all__: %s' % (module, name)) + '%s has bad __all__: %s' % (module, name)) # pragma: no cover if interface.implementedBy(component): yield component -- cgit v1.2.3-70-g09d2