def _test_python_writer(basename):
    converted, expected = _test_writer(basename, 'python')
    assert _diff(converted, expected) == ''
Check that (test contents) and (test cells ==> contents) are the same.
dataset/ETHPy150Open rossant/ipymd/ipymd/formats/tests/test_python.py/_test_python_writer