Lines Matching refs:alter_sys
277 def _fix_ns_for_legacy_pyc(self, ns, alter_sys): argument
285 if alter_sys:
289 def _check_module(self, depth, alter_sys=False, argument
304 if alter_sys:
311 return run_module(mod_name, init_globals, alter_sys=alter_sys)
323 self._fix_ns_for_legacy_pyc(expected_ns, alter_sys)
329 def _check_package(self, depth, alter_sys=False, argument
345 if alter_sys:
352 return run_module(pkg_name, init_globals, alter_sys=alter_sys)
364 self._fix_ns_for_legacy_pyc(expected_ns, alter_sys)
519 self._check_module(depth, alter_sys=True)
524 self._check_package(depth, alter_sys=True)