mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
bpo-31370: Remove support for threads-less builds (#3385)
* Remove Setup.config * Always define WITH_THREAD for compatibility.
This commit is contained in:
parent
1f06a680de
commit
a6a4dc816d
135 changed files with 2472 additions and 4377 deletions
|
@ -20,6 +20,7 @@ import urllib.parse
|
|||
import xml.etree
|
||||
import xml.etree.ElementTree
|
||||
import textwrap
|
||||
import threading
|
||||
from io import StringIO
|
||||
from collections import namedtuple
|
||||
from test.support.script_helper import assert_python_ok
|
||||
|
@ -30,10 +31,6 @@ from test.support import (
|
|||
)
|
||||
from test import pydoc_mod
|
||||
|
||||
try:
|
||||
import threading
|
||||
except ImportError:
|
||||
threading = None
|
||||
|
||||
class nonascii:
|
||||
'Це не латиниця'
|
||||
|
@ -902,7 +899,6 @@ class TestDescriptions(unittest.TestCase):
|
|||
"stat(path, *, dir_fd=None, follow_symlinks=True)")
|
||||
|
||||
|
||||
@unittest.skipUnless(threading, 'Threading required for this test.')
|
||||
class PydocServerTest(unittest.TestCase):
|
||||
"""Tests for pydoc._start_server"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue