Commits

Denis Bilenko committed 50d28c1

fix internal function name

  • Participants
  • Parent commits 794aa12

Comments (0)

Files changed (2)

File greentest/helper.py

         raise
 
     module_source = _f.read()
-    from patched_tests_setup import disable_tests_in_the_source
-    module_source = disable_tests_in_the_source(module_source, name)
+    from patched_tests_setup import disable_tests_in_source
+    module_source = disable_tests_in_source(module_source, name)
     module_code = compile(module_source, _filename, 'exec')
 
     print >> sys.stderr, 'Testing %s with monkey patching' % _filename

File greentest/patched_tests_setup.py

     disabled_tests.append('test_threading.ThreadTests.test_foreign_thread')
 
 
-def disable_tests_in_the_source(source, name):
+def disable_tests_in_source(source, name):
     my_disabled_tests = [x for x in disabled_tests if x.startswith(name + '.')]
     if not my_disabled_tests:
         return source