From 69ea9e4ad7e11581d724ffe91aa66935a62c06d7 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 18 Oct 2018 21:25:36 -0500 Subject: fix coverage --- tests/test_config/test_init.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/test_config/test_init.py') diff --git a/tests/test_config/test_init.py b/tests/test_config/test_init.py index 8216b5557..811672fb3 100644 --- a/tests/test_config/test_init.py +++ b/tests/test_config/test_init.py @@ -31,7 +31,6 @@ class ConfiguratorTests(unittest.TestCase): name='', exception_view=False, ): - from zope.interface import Interface from pyramid.interfaces import IView from pyramid.interfaces import IViewClassifier from pyramid.interfaces import IExceptionViewClassifier @@ -40,10 +39,6 @@ class ConfiguratorTests(unittest.TestCase): classifier = IExceptionViewClassifier else: classifier = IViewClassifier - if ctx_iface is None: - ctx_iface = Interface - if request_iface is None: - request_iface = IRequest return config.registry.adapters.lookup( (classifier, request_iface, ctx_iface), IView, -- cgit v1.2.3