MCPcopy Index your code
hub / github.com/ipython/ipython / test_1

Method test_1

tests/test_interactiveshell.py:683–686  ·  view source on GitHub ↗

Test system_raw with non-ascii cmd

(self)

Source from the content-addressed store, hash-verified

681
682 @onlyif_unicode_paths
683 def test_1(self):
684 """Test system_raw with non-ascii cmd"""
685 cmd = """python -c "'åäö'" """
686 ip.system_raw(cmd)
687
688 @mock.patch("subprocess.call", side_effect=KeyboardInterrupt)
689 @mock.patch("os.system", side_effect=KeyboardInterrupt)

Callers

nothing calls this directly

Calls 1

system_rawMethod · 0.80

Tested by

no test coverage detected