Esempio n. 1
0
def test_format_long_bad_column():
    expected_clean_bad_column = expected_clean.copy()
    column_names = list(expected_clean_bad_column.columns)
    column_names[0] = column_names[0] + '\\dummy'
    expected_clean_bad_column.columns = column_names
    result = reader.format_long(expected_clean_bad_column)
    assert_frame_equal(
        result,
        expected_long_format)
Esempio n. 2
0
def test_format_long():
    result = reader.format_long(expected_clean)
    assert_frame_equal(
        result,
        expected_long_format)