##// END OF EJS Templates
run-tests: simplify by using dict.pop() with default...
Martin von Zweigbergk -
r35194:f12747de default
parent child Browse files
Show More
@@ -1218,9 +1218,7 b' class TTest(Test):'
1218
1218
1219 def __init__(self, path, *args, **kwds):
1219 def __init__(self, path, *args, **kwds):
1220 # accept an extra "case" parameter
1220 # accept an extra "case" parameter
1221 case = None
1221 case = kwds.pop('case', None)
1222 if 'case' in kwds:
1223 case = kwds.pop('case')
1224 self._case = case
1222 self._case = case
1225 self._allcases = parsettestcases(path)
1223 self._allcases = parsettestcases(path)
1226 super(TTest, self).__init__(path, *args, **kwds)
1224 super(TTest, self).__init__(path, *args, **kwds)
General Comments 0
You need to be logged in to leave comments. Login now