5c856f29d1347f8ea6d3f41924b1b06d35d4124e,python/tests/test_read_files.py,,test_read_json,#Any#,16
Before Change
def test_read_json(gold_data):
data = read_json("test_data/test_json.json")
assert data == gold_data
def test_read_json_default_value():
gold_default = {}
After Change
data_loc = os.path.join(data_loc, "test_data")
def test_read_json(gold_data):
data = read_json(os.path.join(data_loc, "test_json.json"))
assert data == gold_data
def test_read_json_default_value():
gold_default = {}
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_json
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_json_strict
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_json_default_value