mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +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
|
@ -1,7 +1,7 @@
|
|||
# tests for slice objects; in particular the indices method.
|
||||
|
||||
import unittest
|
||||
from test import test_support
|
||||
from test import support
|
||||
from pickle import loads, dumps
|
||||
|
||||
import sys
|
||||
|
@ -115,7 +115,7 @@ class SliceTest(unittest.TestCase):
|
|||
self.assertNotEqual(id(s), id(t))
|
||||
|
||||
def test_main():
|
||||
test_support.run_unittest(SliceTest)
|
||||
support.run_unittest(SliceTest)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue