'If the __path__ attr is empty and there is no __file__, raise.'

def test_empty_dunder_path_no_dunder_file(self):

    with self.assertRaises(ImproperlyConfigured):
        AppConfig('label', Stub(__path__=[]))
