mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Issues #29273: Merge test___all__ from 3.6
This commit is contained in:
commit
c05032c4ab
1 changed files with 0 additions and 11 deletions
|
@ -72,17 +72,6 @@ class AllTest(unittest.TestCase):
|
||||||
# than an AttributeError somewhere deep in CGIHTTPServer.
|
# than an AttributeError somewhere deep in CGIHTTPServer.
|
||||||
import _socket
|
import _socket
|
||||||
|
|
||||||
# rlcompleter needs special consideration; it import readline which
|
|
||||||
# initializes GNU readline which calls setlocale(LC_CTYPE, "")... :-(
|
|
||||||
import locale
|
|
||||||
locale_tuple = locale.getlocale(locale.LC_CTYPE)
|
|
||||||
try:
|
|
||||||
import rlcompleter
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
finally:
|
|
||||||
locale.setlocale(locale.LC_CTYPE, locale_tuple)
|
|
||||||
|
|
||||||
ignored = []
|
ignored = []
|
||||||
failed_imports = []
|
failed_imports = []
|
||||||
lib_dir = os.path.dirname(os.path.dirname(__file__))
|
lib_dir = os.path.dirname(os.path.dirname(__file__))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue