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

Function test_strip_email

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

Source from the content-addressed store, hash-verified

179 nt.assert_equal(text.long_substr(data), '')
180
181def test_strip_email():
182 src = """\
183 >> >>> def f(x):
184 >> ... return x+1
185 >> ...
186 >> >>> zz = f(2.5)"""
187 cln = """\
188>>> def f(x):
189... return x+1
190...
191>>> zz = f(2.5)"""
192 nt.assert_equal(text.strip_email_quotes(src), cln)
193
194
195def test_strip_email2():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected