Exemple #1
0
def test_unindent():
    yield assert_equal, doccer.unindent_string(param_doc1), param_doc1
    yield assert_equal, doccer.unindent_string(param_doc2), param_doc2
    yield assert_equal, doccer.unindent_string(param_doc3), param_doc1
Exemple #2
0
def test_unindent():
    with suppress_warnings() as sup:
        sup.filter(category=DeprecationWarning)
        assert_equal(doccer.unindent_string(param_doc1), param_doc1)
        assert_equal(doccer.unindent_string(param_doc2), param_doc2)
        assert_equal(doccer.unindent_string(param_doc3), param_doc1)
Exemple #3
0
def test_unindent():
    assert_equal(doccer.unindent_string(param_doc1), param_doc1)
    assert_equal(doccer.unindent_string(param_doc2), param_doc2)
    assert_equal(doccer.unindent_string(param_doc3), param_doc1)
def test_unindent():
    assert_equal(doccer.unindent_string(param_doc1), param_doc1)
    assert_equal(doccer.unindent_string(param_doc2), param_doc2)
    assert_equal(doccer.unindent_string(param_doc3), param_doc1)