#2621 rename test.test_support to test.support

This commit is contained in:
Benjamin Peterson 2008-05-20 21:35:26 +00:00
parent 6a654814ea
commit ee8712cda4
358 changed files with 1308 additions and 1307 deletions

View file

@ -6,7 +6,7 @@
import sys, codecs
import unittest, re
from test import test_support
from test import support
from io import BytesIO
class TestBase:
@ -279,10 +279,10 @@ class TestBase_Mapping(unittest.TestCase):
try:
self.open_mapping_file() # test it to report the error early
except IOError:
raise test_support.TestSkipped("Could not retrieve "+self.mapfileurl)
raise support.TestSkipped("Could not retrieve "+self.mapfileurl)
def open_mapping_file(self):
return test_support.open_urlresource(self.mapfileurl)
return support.open_urlresource(self.mapfileurl)
def test_mapping_file(self):
if self.mapfileurl.endswith('.xml'):