view tests/test_parse_files/test_classdef.py @ 94:e0368bea06a6

Refactor tests a little bit so it's easier to add more.
author Bastien Orivel <eijebong@bananium.fr>
date Tue, 14 Jun 2016 18:39:48 +0200
parents 8ce78e2ba48c
children
line wrap: on
line source

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