Пример #1
0
 def _func2key(cls, f):
     return FunctionTool.func2module_qualname(f)
Пример #2
0
    def test_05(self):
        hyp = FunctionTool.func2module_qualname(self.Test05.A.subtest_05)
        ref = ('foxylib.tools.function.tests.test_function_tool', 'TestFunctionTool.Test05.A.subtest_05')

        # pprint(hyp)
        self.assertEqual(hyp, ref)