f2a20e32634d1a72fd9a86030bfedf4117ff4896,tests/test_sessions.py,,get_entries,#Any#,55

Before Change


    entries = list(executor("""
        SELECT * FROM bayesdb_session_entries ORDER BY id
    """))
    SessionEntry = namedtuple("SessionEntry", ["id", "session", "time", "type", "data", "completed"])
    return [SessionEntry(e[0], e[1], e[2], e[3], e[4], e[5]) for e in entries]

def _basic_test_trace(executor):

After Change


        "error",
    ]
    assert fields == [d[0] for d in entries.description]
    SessionEntry = namedtuple("SessionEntry", fields)
    return [SessionEntry(*e) for e in entries]

def _basic_test_trace(executor):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: probcomp/bayeslite
Commit Name: f2a20e32634d1a72fd9a86030bfedf4117ff4896
Time: 2015-10-28
Author: riastradh+probcomp@csail.mit.edu
File Name: tests/test_sessions.py
Class Name:
Method Name: get_entries


Project Name: rlworkgroup/garage
Commit Name: cca8e9ba589a9d825d307462f1cafcd5f6523c0a
Time: 2019-05-10
Author: ahtsans@gmail.com
File Name: garage/tf/models/base.py
Class Name: Model
Method Name: build


Project Name: kmike/pymorphy2
Commit Name: 27e937d8b7f0b57abdd659f2bc633d29a0b4ab99
Time: 2013-10-13
Author: kmike84@gmail.com
File Name: pymorphy2/opencorpora_dict/storage.py
Class Name:
Method Name: