MCPcopy Create free account
hub / github.com/ipython/ipython / test_1

Method test_1

IPython/core/tests/test_interactiveshell.py:572–576  ·  view source on GitHub ↗

Test system_raw with non-ascii cmd

(self)

Source from the content-addressed store, hash-verified

570
571 @onlyif_unicode_paths
572 def test_1(self):
573 """Test system_raw with non-ascii cmd
574 """
575 cmd = u'''python -c "'åäö'" '''
576 ip.system_raw(cmd)
577
578 @mock.patch('subprocess.call', side_effect=KeyboardInterrupt)
579 @mock.patch('os.system', side_effect=KeyboardInterrupt)

Callers

nothing calls this directly

Calls 1

system_rawMethod · 0.80

Tested by

no test coverage detected