MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_basic_script

Method test_basic_script

Lib/test/test_cmd_line_script.py:228–234  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

226 self.check_repl_stderr_flush(True)
227
228 def test_basic_script(self):
229 with os_helper.temp_dir() as script_dir:
230 script_name = _make_test_script(script_dir, 'script')
231 self._check_script(script_name, script_name, script_name,
232 script_dir, None,
233 importlib.machinery.SourceFileLoader,
234 expected_cwd=script_dir)
235
236 # TODO: RUSTPYTHON
237 @unittest.expectedFailure

Callers

nothing calls this directly

Calls 2

_check_scriptMethod · 0.95
_make_test_scriptFunction · 0.70

Tested by

no test coverage detected