# HG changeset patch # User Oleg Oshmyan # Date 1308581807 -10800 # Node ID a55a1e00e121bda5670277150f11dcc8611cc7b5 # Parent 0d657576b1ac34dbd8544a0d81a443713287cb00 Renamed load_problem to load_testcases diff -r 0d657576b1ac -r a55a1e00e121 upreckon/problem.py --- a/upreckon/problem.py Mon Jun 20 17:52:09 2011 +0300 +++ b/upreckon/problem.py Mon Jun 20 17:56:47 2011 +0300 @@ -112,7 +112,7 @@ prob.name = name prob.config = config.load_problem(name) prob.cache = Cache({'padoutput': 0}) - prob.testcases = load_problem(prob) + prob.testcases = load_testcases(prob) # TODO def build(prob): @@ -236,8 +236,8 @@ pass -def load_problem(prob, _types={'batch' : testcases.BatchTestCase, - 'outonly': testcases.OutputOnlyTestCase}): +def load_testcases(prob, _types={'batch' : testcases.BatchTestCase, + 'outonly': testcases.OutputOnlyTestCase}): # We will need to iterate over these configuration variables twice try: len(prob.config.dummies)