how to test against class name python code example Example: python get type class name type(x).__name__