def test_classNameUndefinedInClassBody(self):
        self.flakes('''
        class foo:
            foo
        ''', m.UndefinedName)
Load-time errors are reported like normal errors.
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/Test.test_classNameUndefinedInClassBody--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/SubunitReporterTests.test_loadTimeErrors