Commit c7f206b1 authored by Denis Bilenko's avatar Denis Bilenko

fix internal function name

parent 883b2bc6
......@@ -69,8 +69,8 @@ def prepare_stdlib_test(filename):
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
......
......@@ -80,7 +80,7 @@ if sys.version_info[:2] < (2, 7):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment