def setup(self):
        super(TestYAMLCustomFilters, self).setup()

        # If zope.dottedname is not installed, that's OK
        try:
            import zope.dottedname.resolve
        except __HOLE__:
            raise SkipTest()
        # Save off the original get_import_resolver
        self.original_resolver = YAMLLoader._get_import_resolver
        # Make a mock
        def mock(cls):
            raise ImportError
        self.mock_resolver = mock
dataset/ETHPy150Open miracle2k/webassets/tests/test_loaders.py/TestYAMLCustomFilters.setup