ebc52a00c0ccc7f791da62ce79d4c1e8648a8893,hyperspy/tests/io/test_protochips.py,,datetime_gas_cell,#,49

Before Change


def datetime_gas_cell():
    date = "2014.12.15"
    time = "19:07:04.165"
    return datetime.strptime(date + time, "%Y.%m.%d%H:%M:%S.%f")


class test_ProtochipsGasCellCSV():

After Change




def datetime_gas_cell():
    dt = datetime.strptime("2014.12.15" + "19:07:04.165",
                           "%Y.%m.%d%H:%M:%S.%f")
    date = dt.date()
    time = dt.time()
    return date, time, dt
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: hyperspy/hyperspy
Commit Name: ebc52a00c0ccc7f791da62ce79d4c1e8648a8893
Time: 2016-08-01
Author: eric.prestat@gmail.com
File Name: hyperspy/tests/io/test_protochips.py
Class Name:
Method Name: datetime_gas_cell


Project Name: matplotlib/matplotlib
Commit Name: 29a495aa6c877977df73aed5b7873e1411b80ce3
Time: 2018-06-10
Author: choldgraf@berkeley.edu
File Name: examples/lines_bars_and_markers/timeline.py
Class Name:
Method Name:


Project Name: thenetcircle/dino
Commit Name: d3aa3632fb1109f5d7dc895809f74dac7c840ab7
Time: 2017-05-23
Author: oscar.eriks@gmail.com
File Name: dino/storage/cassandra_driver.py
Class Name: Driver
Method Name: msg_insert