6670ca8b881a7a5f094bc12b7705cb45242c77ab,tests/test_codebook.py,,test_codebook_value_map,#,41
Before Change
header=True,create=True)
tempbook = tempfile.NamedTemporaryFile()
tempbook.write(dummy_codebook)
tempbook.flush()
bayeslite.bayesdb_load_codebook_csv_file(bdb, "dummy", tempbook.name)
bdb.execute("""
CREATE GENERATOR dummy_cc FOR dummy
After Change
header=True,create=True)
with tempfile.NamedTemporaryFile(prefix="bayeslite") as tempbook:
with open(tempbook.name, "w") as f:
f.write(dummy_codebook)
bayeslite.bayesdb_load_codebook_csv_file(bdb, "dummy",
tempbook.name)
bdb.execute("""
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: probcomp/bayeslite
Commit Name: 6670ca8b881a7a5f094bc12b7705cb45242c77ab
Time: 2015-06-29
Author: riastradh+probcomp@csail.mit.edu
File Name: tests/test_codebook.py
Class Name:
Method Name: test_codebook_value_map
Project Name: nilearn/nilearn
Commit Name: a0d70d5a13d771ba944b4cf2a1c32226eafa393b
Time: 2015-11-04
Author: alexandre.abadie@inria.fr
File Name: nilearn/tests/test_numpy_conversions.py
Class Name:
Method Name: test_csv_to_array
Project Name: bokeh/bokeh
Commit Name: 06a7794e2b0cecfbb50f818df3c2bd585c1f35de
Time: 2016-07-05
Author: bryanv@continuum.io
File Name: bokeh/command/subcommands/tests/__init__.py
Class Name:
Method Name: with_directory_contents