def test_reallyBoringDocstring(): undocced = '<pre class="undocumented">Undocumented</pre>' assert html.boringDocstring('') == undocced assert html.boringDocstring(None) == undocced
def test_boringDocstring(): assert html.boringDocstring('Woot\nYeah') == '<pre>Woot\nYeah</pre>'
def test_boringDocstring(): assert html.boringDocstring("Woot\nYeah") == "<pre>Woot\nYeah</pre>"
def test_reallyBoringDocstring(): undocced = '<pre class="undocumented">Undocumented</pre>' assert html.boringDocstring("") == undocced assert html.boringDocstring(None) == undocced