5c856f29d1347f8ea6d3f41924b1b06d35d4124e,python/tests/test_read_files.py,,test_read_yaml_default_value,#,39

Before Change


def test_read_yaml_default_value():
    pytest.importorskip("yaml")
    gold_default = {}
    data = read_yaml("test_data/not_there.yml")
    assert data == gold_default

def test_read_yaml_given_default():
    pytest.importorskip("yaml")

After Change


def test_read_yaml_default_value():
    pytest.importorskip("yaml")
    gold_default = {}
    data = read_yaml(os.path.join(data_loc, "not_there.yml"))
    assert data == gold_default

def test_read_yaml_given_default():
    pytest.importorskip("yaml")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dpressel/mead-baseline
Commit Name: 5c856f29d1347f8ea6d3f41924b1b06d35d4124e
Time: 2018-09-12
Author: blester125@users.noreply.github.com
File Name: python/tests/test_read_files.py
Class Name:
Method Name: test_read_yaml_default_value


Project Name: dpressel/mead-baseline
Commit Name: 5c856f29d1347f8ea6d3f41924b1b06d35d4124e
Time: 2018-09-12
Author: blester125@users.noreply.github.com
File Name: python/tests/test_read_files.py
Class Name:
Method Name: test_read_yaml


Project Name: dpressel/mead-baseline
Commit Name: 5c856f29d1347f8ea6d3f41924b1b06d35d4124e
Time: 2018-09-12
Author: blester125@users.noreply.github.com
File Name: python/tests/test_read_files.py
Class Name:
Method Name: test_read_yaml_strict