def METHOD_NAME(self):
    # Ensure that get_data works without reloading - the "loads" module
    # variable in the example loader should count how many times a reload
    # occurs.
    import foo
    self.assertEqual(foo.loads, 1)
    self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!")
    self.assertEqual(foo.loads, 1)
    del sys.modules['foo']