def my_func():
x = Loader.__get_classes_from_module("string","string") # this line causes an error
class Loader(object):
def get_tests(self, test_prefix="", tags=None, exclude=False):
# code here
@staticmethod
def __get_classes_from_module(f, prefix_class_name=None):
# code here
In the above code, I get an error stating that AttributeError: type object 'Loader' has no attribute '__get_classes_from_module'. What am I doing wrong?