def test_redefinedClassFunction():
    flakes('''
    class A:
        def a(): pass
        def a(): pass
    ''', m.RedefinedWhileUnused)
Test that shadowing a function definition in a class suite with another one raises a warning.
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_redefinedClassFunction