view tests/test_parse_files/test_classdef.py @ 70:c9b9165abb9e

Rename test_functiondef_decorators to test_decorators as it contains a test for classdef decorators too.
author Bastien Orivel <eijebong@bananium.fr>
date Mon, 13 Jun 2016 17:56:38 +0200
parents 8ce78e2ba48c
children
line wrap: on
line source

class A(object, metaclass=type):
    def b(self):
        print("a")
A().b()