

def test_func(self):

    def x():
        return 1
    res = get_name_from_obj(x)
    self.assertEqual(res, 'tests.test_utils.x')

dataset/ETHPy150Open django-debug-toolbar/django-debug-toolbar/tests/test_utils.py GetNameFromObjTestCase.test_func/original