def print_test_name(f):
    def fn(self):
        print f.__name__
	f(self)
    return fn