mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
#2621 rename test.test_support to test.support
This commit is contained in:
parent
6a654814ea
commit
ee8712cda4
358 changed files with 1308 additions and 1307 deletions
|
@ -9,7 +9,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
|
|||
|
||||
"""#"
|
||||
|
||||
import test.test_support, unittest
|
||||
import test.support, unittest
|
||||
|
||||
import codecs
|
||||
|
||||
|
@ -50,7 +50,7 @@ class CharmapCodecTest(unittest.TestCase):
|
|||
self.assertRaises(UnicodeError, str, b'abc\001', codecname)
|
||||
|
||||
def test_main():
|
||||
test.test_support.run_unittest(CharmapCodecTest)
|
||||
test.support.run_unittest(CharmapCodecTest)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue