Skip to content

Commit

Permalink
Merge branch 'feature/numpy_int64_label_fix' of github.com:Educationa…
Browse files Browse the repository at this point in the history
…lTestingService/skll into feature/numpy_int64_label_fix
  • Loading branch information
mheilman committed Dec 5, 2014
2 parents 78c683a + 551c201 commit 75d9d71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def fill_in_config_paths_for_fancy_output(config_template_path):
config = _setup_config_parser(config_template_path)

config.set("Input", "train_file", join(train_dir, "fancy_train.jsonlines"))
config.set("Input", "test_directory", join(test_dir,
config.set("Input", "test_file", join(test_dir,
"fancy_test.jsonlines"))
config.set("Output", "results", output_dir)
config.set("Output", "log", output_dir)
Expand Down Expand Up @@ -442,7 +442,8 @@ def test_fancy_output():
actual_stats_from_file = {}
pred_stats_from_file = {}
with open(join(output_dir, ('regression_fancy_output_train_fancy_train.'
'jsonlines_LinearRegression.results')),
'jsonlines_test_fancy_test.jsonlines'
'_LinearRegression.results')),
'r') as resultf:

result_output = resultf.read().strip().split('\n')
Expand Down

0 comments on commit 75d9d71

Please sign in to comment.