def _test_python_python(basename):
    """Check that the double conversion is the identity."""

    contents = _read_test_file(basename, 'python')
    cells = convert(contents, from_='python')
    converted = convert(cells, to='python')

    assert _diff(contents, converted) == ''
dataset/ETHPy150Open rossant/ipymd/ipymd/formats/tests/test_python.py/_test_python_python/original