/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_zipimport_support.py | 76 test_src = "def foo(): pass\n"
78 init_name = make_script(d, '__init__', test_src)
86 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src)
94 test_src = inspect.getsource(test_doctest)
95 test_src = test_src.replace(
98 test_src = test_src.replace("test.test_doctest",
100 test_src = test_src.replace("test.sample_doctest", [all...] |
test_importhooks.py | 8 test_src = """\
20 reload_src = test_src+"""\
24 test_co = compile(test_src, "<???>", "exec")
27 test2_oldabs_co = compile(absimp + test_src, "<???>", "exec")
28 test2_newabs_co = compile(futimp + absimp + test_src, "<???>", "exec")
29 test2_newrel_co = compile(relimp + test_src, "<???>", "exec")
30 test2_deeprel_co = compile(deeprelimp + test_src, "<???>", "exec")
31 test2_futrel_co = compile(futimp + relimp + test_src, "<???>", "exec")
|
test_zipimport.py | 10 from test.test_importhooks import ImportHooksBaseTestCase, test_src, test_co
129 files = {"zlib.py": (NOW, test_src)}
140 files = {TESTMOD + ".py": (NOW, test_src)}
148 files = {TESTMOD + ".py": (NOW, test_src),
161 files = {TESTMOD + ".py": (NOW, test_src),
183 files = {TESTMOD + ".py": (NOW, test_src),
314 files = {TESTMOD + ".py": (NOW, test_src)}
319 self.assertEqual(inspect.getsource(module), test_src)
322 files = {TESTMOD + ".py": (NOW, test_src)}
326 pyc = make_pyc(compile(test_src, "<???>", "exec"), NOW) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_zipimport_support.py | 77 test_src = "def foo(): pass\n" 79 init_name = make_script(d, '__init__', test_src) 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 96 test_src = test_src.replace( 99 test_src = test_src.replace("test.test_doctest", 101 test_src = test_src.replace("test.sample_doctest" [all...] |
test_importhooks.py | 8 test_src = """\ 20 reload_src = test_src+"""\ 24 test_co = compile(test_src, "<???>", "exec") 27 test2_oldabs_co = compile(absimp + test_src, "<???>", "exec") 28 test2_newabs_co = compile(futimp + absimp + test_src, "<???>", "exec") 29 test2_newrel_co = compile(relimp + test_src, "<???>", "exec") 30 test2_deeprel_co = compile(deeprelimp + test_src, "<???>", "exec") 31 test2_futrel_co = compile(futimp + relimp + test_src, "<???>", "exec")
|
test_zipimport.py | 10 from test.test_importhooks import ImportHooksBaseTestCase, test_src, test_co 129 files = {"zlib.py": (NOW, test_src)} 140 files = {TESTMOD + ".py": (NOW, test_src)} 148 files = {TESTMOD + ".py": (NOW, test_src), 161 files = {TESTMOD + ".py": (NOW, test_src), 183 files = {TESTMOD + ".py": (NOW, test_src), 314 files = {TESTMOD + ".py": (NOW, test_src)} 319 self.assertEqual(inspect.getsource(module), test_src) 322 files = {TESTMOD + ".py": (NOW, test_src)} 326 pyc = make_pyc(compile(test_src, "<???>", "exec"), NOW [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_zipimport_support.py | 77 test_src = "def foo(): pass\n" 79 init_name = make_script(d, '__init__', test_src) 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 96 test_src = test_src.replace( 99 test_src = test_src.replace("test.test_doctest", 101 test_src = test_src.replace("test.sample_doctest" [all...] |
test_importhooks.py | 8 test_src = """\ 20 reload_src = test_src+"""\ 24 test_co = compile(test_src, "<???>", "exec") 27 test2_oldabs_co = compile(absimp + test_src, "<???>", "exec") 28 test2_newabs_co = compile(futimp + absimp + test_src, "<???>", "exec") 29 test2_newrel_co = compile(relimp + test_src, "<???>", "exec") 30 test2_deeprel_co = compile(deeprelimp + test_src, "<???>", "exec") 31 test2_futrel_co = compile(futimp + relimp + test_src, "<???>", "exec")
|
test_zipimport.py | 10 from test.test_importhooks import ImportHooksBaseTestCase, test_src, test_co 129 files = {"zlib.py": (NOW, test_src)} 140 files = {TESTMOD + ".py": (NOW, test_src)} 148 files = {TESTMOD + ".py": (NOW, test_src), 161 files = {TESTMOD + ".py": (NOW, test_src), 183 files = {TESTMOD + ".py": (NOW, test_src), 314 files = {TESTMOD + ".py": (NOW, test_src)} 319 self.assertEqual(inspect.getsource(module), test_src) 322 files = {TESTMOD + ".py": (NOW, test_src)} 326 pyc = make_pyc(compile(test_src, "<???>", "exec"), NOW [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipimport_support.py | 77 test_src = "def foo(): pass\n" 79 init_name = make_script(d, '__init__', test_src) 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 96 test_src = test_src.replace( 99 test_src = test_src.replace("test.test_doctest", 101 test_src = test_src.replace("test.sample_doctest" [all...] |
test_importhooks.py | 8 test_src = """\ 20 reload_src = test_src+"""\ 24 test_co = compile(test_src, "<???>", "exec") 27 test2_oldabs_co = compile(absimp + test_src, "<???>", "exec") 28 test2_newabs_co = compile(futimp + absimp + test_src, "<???>", "exec") 29 test2_newrel_co = compile(relimp + test_src, "<???>", "exec") 30 test2_deeprel_co = compile(deeprelimp + test_src, "<???>", "exec") 31 test2_futrel_co = compile(futimp + relimp + test_src, "<???>", "exec")
|
test_zipimport.py | 10 from test.test_importhooks import ImportHooksBaseTestCase, test_src, test_co 129 files = {"zlib.py": (NOW, test_src)} 140 files = {TESTMOD + ".py": (NOW, test_src)} 148 files = {TESTMOD + ".py": (NOW, test_src), 161 files = {TESTMOD + ".py": (NOW, test_src), 183 files = {TESTMOD + ".py": (NOW, test_src), 314 files = {TESTMOD + ".py": (NOW, test_src)} 319 self.assertEqual(inspect.getsource(module), test_src) 322 files = {TESTMOD + ".py": (NOW, test_src)} 326 pyc = make_pyc(compile(test_src, "<???>", "exec"), NOW [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zipimport_support.py | 77 test_src = "def foo(): pass\n" 79 init_name = make_script(d, '__init__', test_src) 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 96 test_src = test_src.replace( 99 test_src = test_src.replace("test.test_doctest", 101 test_src = test_src.replace("test.sample_doctest" [all...] |
test_importhooks.py | 8 test_src = """\ 20 reload_src = test_src+"""\ 24 test_co = compile(test_src, "<???>", "exec") 27 test2_oldabs_co = compile(absimp + test_src, "<???>", "exec") 28 test2_newabs_co = compile(futimp + absimp + test_src, "<???>", "exec") 29 test2_newrel_co = compile(relimp + test_src, "<???>", "exec") 30 test2_deeprel_co = compile(deeprelimp + test_src, "<???>", "exec") 31 test2_futrel_co = compile(futimp + relimp + test_src, "<???>", "exec")
|
test_zipimport.py | 10 from test.test_importhooks import ImportHooksBaseTestCase, test_src, test_co 129 files = {"zlib.py": (NOW, test_src)} 140 files = {TESTMOD + ".py": (NOW, test_src)} 148 files = {TESTMOD + ".py": (NOW, test_src), 161 files = {TESTMOD + ".py": (NOW, test_src), 183 files = {TESTMOD + ".py": (NOW, test_src), 314 files = {TESTMOD + ".py": (NOW, test_src)} 319 self.assertEqual(inspect.getsource(module), test_src) 322 files = {TESTMOD + ".py": (NOW, test_src)} 326 pyc = make_pyc(compile(test_src, "<???>", "exec"), NOW [all...] |