Permalink
Browse files

made runtests.py work under the ancient Python 2.5

  • Loading branch information...
1 parent 582807d commit d0ef0ace9fba3f10bbe382473db038378ea33ddb @ojii ojii committed Jun 29, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 runtests.py
View
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+from __future__ import with_statement
from cms.test_utils.cli import configure
from cms.test_utils.tmpdir import temp_dir
import argparse
@@ -46,4 +47,4 @@ def main(test_runner='cms.test_utils.runners.NormalTestRunner', junit_output_dir
test_labels = ['cms.%s' % label for label in args.test_labels]
main(test_runner=test_runner, junit_output_dir=junit_output_dir, time_tests=time_tests,
verbosity=args.verbosity, failfast=args.failfast, test_labels=test_labels)
-
+

0 comments on commit d0ef0ac

Please sign in to comment.