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

Function test_LSString

IPython/utils/tests/test_text.py:200–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198 nt.assert_equal(text.strip_email_quotes(src), cln)
199
200def test_LSString():
201 lss = text.LSString("abc\ndef")
202 nt.assert_equal(lss.l, ['abc', 'def'])
203 nt.assert_equal(lss.s, 'abc def')
204 lss = text.LSString(os.getcwd())
205 nt.assert_is_instance(lss.p[0], Path)
206
207def test_SList():
208 sl = text.SList(['a 11', 'b 1', 'a 2'])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected