773
774
self.warnings.append((args, kwargs))
774
775
self.overrideAttr(trace, 'warning', captured_warning)
775
776
self.overrideAttr(plugin, '_loaded', False)
777
779
self.assertPluginUnknown('test_foo')
778
780
# Make sure we don't warn about the plugin ImportError since this has
779
781
# been *requested* by the user.