Home
last modified time | relevance | path

Searched refs:dont_write_bytecode (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Lib/distutils/tests/
Dtest_util.py16 old_dont_write_bytecode = sys.dont_write_bytecode
17 sys.dont_write_bytecode = True
21 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_install_lib.py45 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile not enabled')
94 old_dont_write_bytecode = sys.dont_write_bytecode
95 sys.dont_write_bytecode = True
99 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_build_py.py63 if sys.dont_write_bytecode:
140 old_dont_write_bytecode = sys.dont_write_bytecode
141 sys.dont_write_bytecode = True
145 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_bdist_dumb.py91 if not sys.dont_write_bytecode:
/external/python/cpython3/Lib/distutils/tests/
Dtest_build_py.py61 if sys.dont_write_bytecode:
91 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile disabled')
108 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile disabled')
164 old_dont_write_bytecode = sys.dont_write_bytecode
165 sys.dont_write_bytecode = True
169 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_install_lib.py37 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile disabled')
100 old_dont_write_bytecode = sys.dont_write_bytecode
101 sys.dont_write_bytecode = True
105 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_util.py291 old_dont_write_bytecode = sys.dont_write_bytecode
292 sys.dont_write_bytecode = True
296 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_bdist_dumb.py89 if not sys.dont_write_bytecode:
/external/python/cpython3/Tools/importbench/
Dimportbench.py63 sys.dont_write_bytecode = True
76 sys.dont_write_bytecode = False
86 sys.dont_write_bytecode = True
91 sys.dont_write_bytecode = False
102 assert not sys.dont_write_bytecode
121 assert not sys.dont_write_bytecode
206 assert not sys.dont_write_bytecode
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py307 if sys.dont_write_bytecode:
311 original = sys.dont_write_bytecode
312 sys.dont_write_bytecode = False
316 sys.dont_write_bytecode = original
Dtest_abc.py878 @unittest.skipIf(sys.dont_write_bytecode, "sys.dont_write_bytecode is true")
937 sys.dont_write_bytecode = True
942 sys.dont_write_bytecode = False
/external/python/pybind11/tests/test_embed/
Dtest_interpreter.cpp249 bool dont_write_bytecode = sys.attr("dont_write_bytecode").cast<bool>(); variable
253 sys.attr("dont_write_bytecode") = dont_write_bytecode; in __anonba480a4a0402()
/external/python/cpython2/Lib/test/
Dtest_runpy.py173 if not sys.dont_write_bytecode:
196 if not sys.dont_write_bytecode:
251 if not sys.dont_write_bytecode:
Dtest_import.py91 if not sys.dont_write_bytecode:
111 @unittest.skipIf(sys.dont_write_bytecode,
139 @unittest.skipIf(sys.dont_write_bytecode,
475 if not sys.dont_write_bytecode:
/external/grpc-grpc/src/boringssl/
Dgen_build_yaml.py21 sys.dont_write_bytecode = True
/external/python/cpython3/Lib/test/
Dtest_runpy.py318 if not sys.dont_write_bytecode:
359 if not sys.dont_write_bytecode:
418 if not sys.dont_write_bytecode:
697 if not sys.dont_write_bytecode:
Dtest_imp.py178 if not sys.dont_write_bytecode:
299 @unittest.skipIf(sys.dont_write_bytecode,
/external/python/cpython2/Lib/distutils/command/
Dinstall_lib.py123 if sys.dont_write_bytecode:
Dbuild_py.py376 if sys.dont_write_bytecode:
/external/python/cpython3/Lib/distutils/command/
Dinstall_lib.py119 if sys.dont_write_bytecode:
Dbuild_py.py375 if sys.dont_write_bytecode:
/external/avb/test/
Dimage_handler_unittest.py35 sys.dont_write_bytecode = True
/external/python/cpython2/Lib/distutils/
Dutil.py362 if sys.dont_write_bytecode:
/external/python/cpython3/Lib/distutils/
Dutil.py362 if sys.dont_write_bytecode:
/external/python/cpython3/Python/
Dinitconfig.c1312 int dont_write_bytecode = 0; in config_read_env_vars() local
1313 _Py_get_env_flag(use_env, &dont_write_bytecode, "PYTHONDONTWRITEBYTECODE"); in config_read_env_vars()
1314 if (dont_write_bytecode) { in config_read_env_vars()

12