c8a217afc011ea1e387c26851afe48cb655a6786,brian2/tests/test_synapses.py,,test_connection_array_standalone,#,125

Before Change


    tempdir = tempfile.mkdtemp()
    device.build(project_dir=tempdir, compile_project=True, run_project=True,
                 with_output=False)
    mon_v = np.fromfile(os.path.join(tempdir, "results",
                                     "_dynamic_array_mon__recorded_v"),
                        dtype=np.float64)
    expected = np.array([[1, 1, 1, 1, 1],
                         [0, 0, 0, 0, 0],
                         [0, 1, 1, 1, 1],
                         [0, 0, 0, 0, 0],

After Change


                         [0, 0, 0, 0, 0],
                         [0, 0, 0, 1, 1],
                         [0, 0, 0, 0, 0]], dtype=np.float64)
    assert_equal(mon.v, expected)


def test_connection_string_deterministic():
    """
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: brian-team/brian2
Commit Name: c8a217afc011ea1e387c26851afe48cb655a6786
Time: 2014-07-07
Author: marcel.stimberg@ens.fr
File Name: brian2/tests/test_synapses.py
Class Name:
Method Name: test_connection_array_standalone


Project Name: MolSSI/QCEngine
Commit Name: fcb2a9e425f2bc873f3f32072b251de63a6e7edc
Time: 2018-08-14
Author: malorian@me.com
File Name: qcengine/tests/test_config.py
Class Name:
Method Name: test_config_path


Project Name: EpistasisLab/tpot
Commit Name: e513059dd85ee2d9a267c8197386eaf2b135f38a
Time: 2018-09-20
Author: weixuanf@pennmedicine.upenn.edu
File Name: tests/tpot_tests.py
Class Name:
Method Name: test_save_periodic_pipeline_2


Project Name: aws/sagemaker-python-sdk
Commit Name: 61db445481f516b0d3b21ccfde890fd2b5c34877
Time: 2019-08-13
Author: chuyangdeng@gmail.com
File Name: tests/integ/test_mxnet_train.py
Class Name:
Method Name: test_deploy_model