mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +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
|
@ -6,7 +6,7 @@ from _winreg import *
|
|||
import os, sys
|
||||
import unittest
|
||||
|
||||
from test import test_support
|
||||
from test import support
|
||||
|
||||
test_key_name = "SOFTWARE\\Python Registry Test Key - Delete Me"
|
||||
|
||||
|
@ -161,7 +161,7 @@ class WinregTests(unittest.TestCase):
|
|||
self.assertEqual(r, os.environ["windir"] + "\\test")
|
||||
|
||||
def test_main():
|
||||
test_support.run_unittest(WinregTests)
|
||||
support.run_unittest(WinregTests)
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue