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
|
@ -1,7 +1,7 @@
|
|||
"""Tests for binary operators on subtypes of built-in types."""
|
||||
|
||||
import unittest
|
||||
from test import test_support
|
||||
from test import support
|
||||
|
||||
def gcd(a, b):
|
||||
"""Greatest common divisor using Euclid's algorithm."""
|
||||
|
@ -317,7 +317,7 @@ self.assertEqual(eval('1/2'), 0.5)
|
|||
"""
|
||||
|
||||
def test_main():
|
||||
test_support.run_unittest(RatTestCase)
|
||||
support.run_unittest(RatTestCase)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue