52e376f4cf8eade5f603fa954d49867e921ef7e1,cesium/tests/test_data_management.py,,test_parsing_and_saving,#,40

Before Change


    time_series = data_management.parse_and_store_ts_data(data_file_path,
                      TEMP_DIR, header_path, cleanup_archive=False,
                      cleanup_header=False)
    for ts in time_series:
        assert all(f in ["meta1", "meta2", "meta3"]
                   for f in ts.meta_features.keys())
        assert(len(ts.time) == len(ts.measurement)
               and len(ts.time) == len(ts.error))

After Change


    time_series = data_management.parse_and_store_ts_data(
        data_file_path, TEMP_DIR, header_path, cleanup_archive=False,
        cleanup_header=False)
    for ts in time_series:
        assert isinstance(ts, str)
        assert os.path.exists(ts)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: cesium-ml/cesium
Commit Name: 52e376f4cf8eade5f603fa954d49867e921ef7e1
Time: 2016-11-07
Author: a.crellinquick@gmail.com
File Name: cesium/tests/test_data_management.py
Class Name:
Method Name: test_parsing_and_saving


Project Name: stellargraph/stellargraph
Commit Name: 97eacce6d9222a1c8579062d5dbb9d753655ee62
Time: 2020-06-01
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_gcn_lstm.py
Class Name:
Method Name: test_lstm_return_sequences


Project Name: chartbeat-labs/textacy
Commit Name: ad3a4beb1ad8d8a624f7897a38aabdbc97068c23
Time: 2020-08-24
Author: burtdewilde@gmail.com
File Name: tests/test_readme.py
Class Name:
Method Name: test_text_stats_functionality