Author: bugman Date: Mon Oct 1 23:34:08 2012 New Revision: 17640 URL: http://svn.gna.org/viewcvs/relax?rev=17640&view=rev Log: Python 3 - removed the use of the string.lower() function as it is missing in Python 3. Modified: trunk/test_suite/unit_tests/unit_test_runner.py Modified: trunk/test_suite/unit_tests/unit_test_runner.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/unit_test_runner.py?rev=17640&r1=17639&r2=17640&view=diff ============================================================================== --- trunk/test_suite/unit_tests/unit_test_runner.py (original) +++ trunk/test_suite/unit_tests/unit_test_runner.py Mon Oct 1 23:34:08 2012 @@ -54,7 +54,7 @@ """ from copy import copy -import os, re, string, sys, unittest, traceback +import os, re, sys, unittest, traceback from optparse import OptionParser from textwrap import dedent @@ -371,7 +371,7 @@ # Build the class name from the file name. module_name = os.path.splitext(file_name)[0] - class_name = string.upper(module_name[0]) + module_name[1:] + class_name = module_name[0].upper() + module_name[1:] # Load the test case into the test suite. test_case = load_test_case(dir_path, module_name, class_name)