Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
9796e85a
Commit
9796e85a
authored
Nov 18, 2019
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A change in subprocess._active broke Windows tests, so update test versions.
parent
85a42dd8
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
683 additions
and
336 deletions
+683
-336
scripts/install.sh
scripts/install.sh
+2
-2
src/greentest/3.7/keycert.passwd.pem
src/greentest/3.7/keycert.passwd.pem
+43
-42
src/greentest/3.7/ssl_key.passwd.pem
src/greentest/3.7/ssl_key.passwd.pem
+42
-42
src/greentest/3.7/test_httplib.py
src/greentest/3.7/test_httplib.py
+29
-0
src/greentest/3.7/test_ssl.py
src/greentest/3.7/test_ssl.py
+148
-58
src/greentest/3.7/test_subprocess.py
src/greentest/3.7/test_subprocess.py
+46
-9
src/greentest/3.7/test_wsgiref.py
src/greentest/3.7/test_wsgiref.py
+54
-24
src/greentest/3.7/version
src/greentest/3.7/version
+1
-1
src/greentest/3.8/keycert.passwd.pem
src/greentest/3.8/keycert.passwd.pem
+43
-42
src/greentest/3.8/ssl_key.passwd.pem
src/greentest/3.8/ssl_key.passwd.pem
+42
-42
src/greentest/3.8/test_httplib.py
src/greentest/3.8/test_httplib.py
+29
-0
src/greentest/3.8/test_socket.py
src/greentest/3.8/test_socket.py
+3
-1
src/greentest/3.8/test_ssl.py
src/greentest/3.8/test_ssl.py
+151
-58
src/greentest/3.8/test_subprocess.py
src/greentest/3.8/test_subprocess.py
+46
-9
src/greentest/3.8/test_threading.py
src/greentest/3.8/test_threading.py
+0
-1
src/greentest/3.8/test_wsgiref.py
src/greentest/3.8/test_wsgiref.py
+3
-4
src/greentest/3.8/version
src/greentest/3.8/version
+1
-1
No files found.
scripts/install.sh
View file @
9796e85a
...
@@ -29,8 +29,8 @@ else
...
@@ -29,8 +29,8 @@ else
# and it's pretty large.
# and it's pretty large.
# So if we need to incorporate changes from pyenv, either temporarily
# So if we need to incorporate changes from pyenv, either temporarily
# turn this back on, or remove the Travis caches.
# turn this back on, or remove the Travis caches.
#
git fetch || echo "Fetch failed to complete. Ignoring"
git fetch
||
echo
"Fetch failed to complete. Ignoring"
#
git reset --hard origin/master
git reset
--hard
origin/master
cd
$back
cd
$back
fi
fi
...
...
src/greentest/3.7/keycert.passwd.pem
View file @
9796e85a
-----BEGIN
RSA
PRIVATE KEY-----
-----BEGIN
ENCRYPTED
PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
MIIHbTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIhD+rJdxqb6ECAggA
DEK-Info: DES-EDE3-CBC,D134E931C96D9DEC
MAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBDTdyjCP3riOSUfxix4aXEvBIIH
ECGkbsFabrcFMZcplw5jHMaOlG7rYjUzwDJ80JM8uzbv2Jb8SvNlns2+xmnEvH/M
nuGFEej7vIjkYWSMz5OJeVTNntDRQi6ZM4DBm3g8T7i/0odr3WFqGMMKZcIhLYQf
mNvRmnXmplbVjH3XBMK8o2Psnr2V/a0j7/pgqpRxHykG+koOY4gzdt3MAg8JPbS2
rgRq7RSKtrJ1y5taVucMV+EuCjyfzDo0TsYt+ZrXv/D08eZhjRmkhoHnGVF0TqQm
hymSl+Y5EpciO3xLfz4aFL1ZNqspQbO/TD13Ij7DUIy7xIRBMp4taoZCrP0cEBAZ
nQEXM/ERT4J2RM78dnG+homMkI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ZOj8MRwPSqqiIxJFuLswKte1R+W7LKn1yBSM7Pp39lNbzGvJD2E
PiGEUWtvrKG94X1TMlGUzDzDJOQNZ9dT94bonNe9pVmP5BP4/DzwwiWh6qrzWk6p
YRfnCwFpJ54voVAuQ4jXJvigCW2qeCjXlxeD6K2j4eGJEEOmIjIW1wjubyBY6OI3
j8OE4cfCSh2WvHnhJbH7/N0v+JKjtxeIeJ16jx/K2oK5
-----END
RSA
PRIVATE KEY-----
-----END
ENCRYPTED
PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIEWTCCAsGgAwIBAgIJAJinz4jHSjLtMA0GCSqGSIb3DQEBCwUAMF8xCzAJBgNV
MIIEWTCCAsGgAwIBAgIJAJinz4jHSjLtMA0GCSqGSIb3DQEBCwUAMF8xCzAJBgNV
BAYTAlhZMRcwFQYDVQQHDA5DYXN0bGUgQW50aHJheDEjMCEGA1UECgwaUHl0aG9u
BAYTAlhZMRcwFQYDVQQHDA5DYXN0bGUgQW50aHJheDEjMCEGA1UECgwaUHl0aG9u
...
@@ -66,3 +66,4 @@ jMqTFlmO7kpf/jpCSmamp3/JSEE1BJKHwQ6Ql4nzRA2N1mnvWH7Zxcv043gkHeAu
...
@@ -66,3 +66,4 @@ jMqTFlmO7kpf/jpCSmamp3/JSEE1BJKHwQ6Ql4nzRA2N1mnvWH7Zxcv043gkHeAu
9Wc2uXpw9xF8itV4Uvcdr3dwqByvIqn7iI/gB+4l41e0u8OmH2MKOx4Nxlly5TNW
9Wc2uXpw9xF8itV4Uvcdr3dwqByvIqn7iI/gB+4l41e0u8OmH2MKOx4Nxlly5TNW
HcVKQHyOeyvnINuBAQ==
HcVKQHyOeyvnINuBAQ==
-----END CERTIFICATE-----
-----END CERTIFICATE-----
src/greentest/3.7/ssl_key.passwd.pem
View file @
9796e85a
-----BEGIN
RSA
PRIVATE KEY-----
-----BEGIN
ENCRYPTED
PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
MII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qJhy4WQBQ
Ghf6RF6qf5/iFyJoG4vrbKT8kx6ywh0InILCdjUunuDskIBxX6tEcr9XwajoIvb2
aVVyFeWBC7G3Zj76dO+yp2sfJ0itJUQ8AIB9Cg0f34rEZu+r9luPmqBoUeL95Tk7
kcmGdjam5kKLS7QOWQTl8/r/cuFes0dj34cX5Qpq+Gd7tRq/D+b0207926Cxvftv
YvCOU3Jl8Iqysv8aNpVXT8sa8rrSbruWCByEePZ37RIdHLMVBwVY0eVaFQjrjU7E
qQ1cVn8HiLxKkZzd3tpf2xnoV1zkTL0oHrNg+qzxoxXUTUcwtIf1d/HRbYEAhi/d
mXmM9eaoYLfXOllsQ+M2+qPFUITr/GU3Qig13DhK/+yC1R6V2a0l0WRhMltIPYKW
bBBoFeftEHWNq+sJgS9bH+XNzo/yK4u04B5miOq8v4CSkJdzu+ZdF22d4cjiGmtQ
Ztvvr4hK5LcYCeS113BLiMbDIMMZZYGDZGMdC8DnnVbT2loF0Rfmp80Af31KmMQ4
8BTmcn0Unzm+u5H0+QSZe54QBHJGNXXOIKMTkgnOdW27g4DbI1y7fCqJiSMbRW6L
6XvMatW9UDjBoY5a/YMpdm7SRwm+MgV2KNPpc2kST87/yi9oprGAb8qiarHiHTM0
oHmMfbdB3GWqGbsUkhY8i6h9op0MU6WOX7ea2Rxyt4t6
-----END
RSA
PRIVATE KEY-----
-----END
ENCRYPTED
PRIVATE KEY-----
src/greentest/3.7/test_httplib.py
View file @
9796e85a
...
@@ -1157,6 +1157,34 @@ class BasicTest(TestCase):
...
@@ -1157,6 +1157,34 @@ class BasicTest(TestCase):
thread
.
join
()
thread
.
join
()
self
.
assertEqual
(
result
,
b"proxied data
\
n
"
)
self
.
assertEqual
(
result
,
b"proxied data
\
n
"
)
def
test_putrequest_override_validation
(
self
):
"""
It should be possible to override the default validation
behavior in putrequest (bpo-38216).
"""
class
UnsafeHTTPConnection
(
client
.
HTTPConnection
):
def
_validate_path
(
self
,
url
):
pass
conn
=
UnsafeHTTPConnection
(
'example.com'
)
conn
.
sock
=
FakeSocket
(
''
)
conn
.
putrequest
(
'GET'
,
'/
\
x00
'
)
def
test_putrequest_override_encoding
(
self
):
"""
It should be possible to override the default encoding
to transmit bytes in another encoding even if invalid
(bpo-36274).
"""
class
UnsafeHTTPConnection
(
client
.
HTTPConnection
):
def
_encode_request
(
self
,
str_url
):
return
str_url
.
encode
(
'utf-8'
)
conn
=
UnsafeHTTPConnection
(
'example.com'
)
conn
.
sock
=
FakeSocket
(
''
)
conn
.
putrequest
(
'GET'
,
'/☃'
)
class
ExtendedReadTest
(
TestCase
):
class
ExtendedReadTest
(
TestCase
):
"""
"""
Test peek(), read1(), readline()
Test peek(), read1(), readline()
...
@@ -1281,6 +1309,7 @@ class ExtendedReadTest(TestCase):
...
@@ -1281,6 +1309,7 @@ class ExtendedReadTest(TestCase):
p
=
self
.
resp
.
peek
(
0
)
p
=
self
.
resp
.
peek
(
0
)
self
.
assertLessEqual
(
0
,
len
(
p
))
self
.
assertLessEqual
(
0
,
len
(
p
))
class
ExtendedReadTestChunked
(
ExtendedReadTest
):
class
ExtendedReadTestChunked
(
ExtendedReadTest
):
"""
"""
Test peek(), read1(), readline() in chunked mode
Test peek(), read1(), readline() in chunked mode
...
...
src/greentest/3.7/test_ssl.py
View file @
9796e85a
This diff is collapsed.
Click to expand it.
src/greentest/3.7/test_subprocess.py
View file @
9796e85a
...
@@ -11,6 +11,7 @@ import os
...
@@ -11,6 +11,7 @@ import os
import
errno
import
errno
import
tempfile
import
tempfile
import
time
import
time
import
traceback
import
selectors
import
selectors
import
sysconfig
import
sysconfig
import
select
import
select
...
@@ -59,10 +60,14 @@ class BaseTestCase(unittest.TestCase):
...
@@ -59,10 +60,14 @@ class BaseTestCase(unittest.TestCase):
support
.
reap_children
()
support
.
reap_children
()
def
tearDown
(
self
):
def
tearDown
(
self
):
for
inst
in
subprocess
.
_active
:
if
not
mswindows
:
inst
.
wait
()
# subprocess._active is not used on Windows and is set to None.
subprocess
.
_cleanup
()
for
inst
in
subprocess
.
_active
:
self
.
assertFalse
(
subprocess
.
_active
,
"subprocess._active not empty"
)
inst
.
wait
()
subprocess
.
_cleanup
()
self
.
assertFalse
(
subprocess
.
_active
,
"subprocess._active not empty"
)
self
.
doCleanups
()
self
.
doCleanups
()
support
.
reap_children
()
support
.
reap_children
()
...
@@ -1504,6 +1509,26 @@ class RunFuncTestCase(BaseTestCase):
...
@@ -1504,6 +1509,26 @@ class RunFuncTestCase(BaseTestCase):
self
.
assertIn
(
'stderr'
,
c
.
exception
.
args
[
0
])
self
.
assertIn
(
'stderr'
,
c
.
exception
.
args
[
0
])
self
.
assertIn
(
'capture_output'
,
c
.
exception
.
args
[
0
])
self
.
assertIn
(
'capture_output'
,
c
.
exception
.
args
[
0
])
# This test _might_ wind up a bit fragile on loaded build+test machines
# as it depends on the timing with wide enough margins for normal situations
# but does assert that it happened "soon enough" to believe the right thing
# happened.
@
unittest
.
skipIf
(
mswindows
,
"requires posix like 'sleep' shell command"
)
def
test_run_with_shell_timeout_and_capture_output
(
self
):
"""Output capturing after a timeout mustn't hang forever on open filehandles."""
before_secs
=
time
.
monotonic
()
try
:
subprocess
.
run
(
'sleep 3'
,
shell
=
True
,
timeout
=
0.1
,
capture_output
=
True
)
# New session unspecified.
except
subprocess
.
TimeoutExpired
as
exc
:
after_secs
=
time
.
monotonic
()
stacks
=
traceback
.
format_exc
()
# assertRaises doesn't give this.
else
:
self
.
fail
(
"TimeoutExpired not raised."
)
self
.
assertLess
(
after_secs
-
before_secs
,
1.5
,
msg
=
"TimeoutExpired was delayed! Bad traceback:
\
n
```
\
n
"
f"
{
stacks
}
```"
)
@
unittest
.
skipIf
(
mswindows
,
"POSIX specific tests"
)
@
unittest
.
skipIf
(
mswindows
,
"POSIX specific tests"
)
class
POSIXProcessTestCase
(
BaseTestCase
):
class
POSIXProcessTestCase
(
BaseTestCase
):
...
@@ -2622,8 +2647,12 @@ class POSIXProcessTestCase(BaseTestCase):
...
@@ -2622,8 +2647,12 @@ class POSIXProcessTestCase(BaseTestCase):
with
support
.
check_warnings
((
''
,
ResourceWarning
)):
with
support
.
check_warnings
((
''
,
ResourceWarning
)):
p
=
None
p
=
None
# check that p is in the active processes list
if
mswindows
:
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
# subprocess._active is not used on Windows and is set to None.
self
.
assertIsNone
(
subprocess
.
_active
)
else
:
# check that p is in the active processes list
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
def
test_leak_fast_process_del_killed
(
self
):
def
test_leak_fast_process_del_killed
(
self
):
# Issue #12650: on Unix, if Popen.__del__() was called before the
# Issue #12650: on Unix, if Popen.__del__() was called before the
...
@@ -2644,8 +2673,12 @@ class POSIXProcessTestCase(BaseTestCase):
...
@@ -2644,8 +2673,12 @@ class POSIXProcessTestCase(BaseTestCase):
p
=
None
p
=
None
os
.
kill
(
pid
,
signal
.
SIGKILL
)
os
.
kill
(
pid
,
signal
.
SIGKILL
)
# check that p is in the active processes list
if
mswindows
:
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
# subprocess._active is not used on Windows and is set to None.
self
.
assertIsNone
(
subprocess
.
_active
)
else
:
# check that p is in the active processes list
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
# let some time for the process to exit, and create a new Popen: this
# let some time for the process to exit, and create a new Popen: this
# should trigger the wait() of p
# should trigger the wait() of p
...
@@ -2657,7 +2690,11 @@ class POSIXProcessTestCase(BaseTestCase):
...
@@ -2657,7 +2690,11 @@ class POSIXProcessTestCase(BaseTestCase):
pass
pass
# p should have been wait()ed on, and removed from the _active list
# p should have been wait()ed on, and removed from the _active list
self
.
assertRaises
(
OSError
,
os
.
waitpid
,
pid
,
0
)
self
.
assertRaises
(
OSError
,
os
.
waitpid
,
pid
,
0
)
self
.
assertNotIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
if
mswindows
:
# subprocess._active is not used on Windows and is set to None.
self
.
assertIsNone
(
subprocess
.
_active
)
else
:
self
.
assertNotIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
def
test_close_fds_after_preexec
(
self
):
def
test_close_fds_after_preexec
(
self
):
fd_status
=
support
.
findfile
(
"fd_status.py"
,
subdir
=
"subprocessdata"
)
fd_status
=
support
.
findfile
(
"fd_status.py"
,
subdir
=
"subprocessdata"
)
...
...
src/greentest/3.7/test_wsgiref.py
View file @
9796e85a
...
@@ -540,32 +540,62 @@ class TestHandler(ErrorHandler):
...
@@ -540,32 +540,62 @@ class TestHandler(ErrorHandler):
class
HandlerTests
(
TestCase
):
class
HandlerTests
(
TestCase
):
# testEnviron() can produce long error message
def
checkEnvironAttrs
(
self
,
handler
):
maxDiff
=
80
*
50
env
=
handler
.
environ
for
attr
in
[
'version'
,
'multithread'
,
'multiprocess'
,
'run_once'
,
'file_wrapper'
]:
if
attr
==
'file_wrapper'
and
handler
.
wsgi_file_wrapper
is
None
:
continue
self
.
assertEqual
(
getattr
(
handler
,
'wsgi_'
+
attr
),
env
[
'wsgi.'
+
attr
])
def
checkOSEnviron
(
self
,
handler
):
empty
=
{};
setup_testing_defaults
(
empty
)
env
=
handler
.
environ
from
os
import
environ
for
k
,
v
in
environ
.
items
():
if
k
not
in
empty
:
self
.
assertEqual
(
env
[
k
],
v
)
for
k
,
v
in
empty
.
items
():
self
.
assertIn
(
k
,
env
)
def
testEnviron
(
self
):
def
testEnviron
(
self
):
h
=
TestHandler
(
X
=
"Y"
)
os_environ
=
{
h
.
setup_environ
()
# very basic environment
self
.
checkEnvironAttrs
(
h
)
'HOME'
:
'/my/home'
,
self
.
checkOSEnviron
(
h
)
'PATH'
:
'/my/path'
,
self
.
assertEqual
(
h
.
environ
[
"X"
],
"Y"
)
'LANG'
:
'fr_FR.UTF-8'
,
# set some WSGI variables
'SCRIPT_NAME'
:
'test_script_name'
,
'SERVER_NAME'
:
'test_server_name'
,
}
with
support
.
swap_attr
(
TestHandler
,
'os_environ'
,
os_environ
):
# override X and HOME variables
handler
=
TestHandler
(
X
=
"Y"
,
HOME
=
"/override/home"
)
handler
.
setup_environ
()
# Check that wsgi_xxx attributes are copied to wsgi.xxx variables
# of handler.environ
for
attr
in
(
'version'
,
'multithread'
,
'multiprocess'
,
'run_once'
,
'file_wrapper'
):
self
.
assertEqual
(
getattr
(
handler
,
'wsgi_'
+
attr
),
handler
.
environ
[
'wsgi.'
+
attr
])
# Test handler.environ as a dict
expected
=
{}
setup_testing_defaults
(
expected
)
# Handler inherits os_environ variables which are not overriden
# by SimpleHandler.add_cgi_vars() (SimpleHandler.base_env)
for
key
,
value
in
os_environ
.
items
():
if
key
not
in
expected
:
expected
[
key
]
=
value
expected
.
update
({
# X doesn't exist in os_environ
"X"
:
"Y"
,
# HOME is overriden by TestHandler
'HOME'
:
"/override/home"
,
# overriden by setup_testing_defaults()
"SCRIPT_NAME"
:
""
,
"SERVER_NAME"
:
"127.0.0.1"
,
# set by BaseHandler.setup_environ()
'wsgi.input'
:
handler
.
get_stdin
(),
'wsgi.errors'
:
handler
.
get_stderr
(),
'wsgi.version'
:
(
1
,
0
),
'wsgi.run_once'
:
False
,
'wsgi.url_scheme'
:
'http'
,
'wsgi.multithread'
:
True
,
'wsgi.multiprocess'
:
True
,
'wsgi.file_wrapper'
:
util
.
FileWrapper
,
})
self
.
assertDictEqual
(
handler
.
environ
,
expected
)
def
testCGIEnviron
(
self
):
def
testCGIEnviron
(
self
):
h
=
BaseCGIHandler
(
None
,
None
,
None
,{})
h
=
BaseCGIHandler
(
None
,
None
,
None
,{})
...
...
src/greentest/3.7/version
View file @
9796e85a
3.7.
2
3.7.
5
src/greentest/3.8/keycert.passwd.pem
View file @
9796e85a
-----BEGIN
RSA
PRIVATE KEY-----
-----BEGIN
ENCRYPTED
PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
MIIHbTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIhD+rJdxqb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/jpCSmamp3/JSEE1BJKHwQ6Ql4nzRA2N1mnvWH7Zxcv043gkHeAu
...
@@ -66,3 +66,4 @@ jMqTFlmO7kpf/jpCSmamp3/JSEE1BJKHwQ6Ql4nzRA2N1mnvWH7Zxcv043gkHeAu
9Wc2uXpw9xF8itV4Uvcdr3dwqByvIqn7iI/gB+4l41e0u8OmH2MKOx4Nxlly5TNW
9Wc2uXpw9xF8itV4Uvcdr3dwqByvIqn7iI/gB+4l41e0u8OmH2MKOx4Nxlly5TNW
HcVKQHyOeyvnINuBAQ==
HcVKQHyOeyvnINuBAQ==
-----END CERTIFICATE-----
-----END CERTIFICATE-----
src/greentest/3.8/ssl_key.passwd.pem
View file @
9796e85a
-----BEGIN
RSA
PRIVATE KEY-----
-----BEGIN
ENCRYPTED
PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
MIIHbTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQI072N7W+PDDMCAggA
DEK-Info: DES-EDE3-CBC,8064BE1494B24B13
MAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBA/AuaRNi4vE4KGqI4In+70BIIH
ENGS5Vex5NID873frmd1UZEHZ+O/Bd0wDb+NUpIqesHkRYf7kKi6Gnr+nKQ/oVVn
KJrffOMbo8M0I3PzcYxRZGMpKD1yB3Ii4+bT5XoanxjIJ+4fdx6LfZ0Rsx+riyzs
Lm3JjE7c8ECP0OkOOXmiXuWL1SkzBBWqCI4stSGUPvBiHsGwNnvJAaGjUffgMlcC
tymsQu/iYY9j+4rCvN9+eetsL1X6iZpiimKsLexcid9M3fb0vxED5Sgw0dvunCUA
aJOA2+dnejLkzblq4CB2LQdm06N3Xoe9tyqtQaUHxfzJAf5Ydd8uj7vpKN2MMhY7
xhqjLIKR92MKbODHf6KrDKCpsiPbjq4gZ7P+uCGXAMHL3MXIJSC0hW9rK7Ce6oyO
icIPJwSyh0N7S6XWVtHEokr9Kp4y2hS5a+BgCWV1/1z0aF7agnSV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UDjBoY5a/YMpdm7SRwm+MgV2KNPpc2kST87/yi9oprGAb8qiarHiHTM0
oHmMfbdB3GWqGbsUkhY8i6h9op0MU6WOX7ea2Rxyt4t6
-----END
RSA
PRIVATE KEY-----
-----END
ENCRYPTED
PRIVATE KEY-----
src/greentest/3.8/test_httplib.py
View file @
9796e85a
...
@@ -1155,6 +1155,34 @@ class BasicTest(TestCase):
...
@@ -1155,6 +1155,34 @@ class BasicTest(TestCase):
thread
.
join
()
thread
.
join
()
self
.
assertEqual
(
result
,
b"proxied data
\
n
"
)
self
.
assertEqual
(
result
,
b"proxied data
\
n
"
)
def
test_putrequest_override_validation
(
self
):
"""
It should be possible to override the default validation
behavior in putrequest (bpo-38216).
"""
class
UnsafeHTTPConnection
(
client
.
HTTPConnection
):
def
_validate_path
(
self
,
url
):
pass
conn
=
UnsafeHTTPConnection
(
'example.com'
)
conn
.
sock
=
FakeSocket
(
''
)
conn
.
putrequest
(
'GET'
,
'/
\
x00
'
)
def
test_putrequest_override_encoding
(
self
):
"""
It should be possible to override the default encoding
to transmit bytes in another encoding even if invalid
(bpo-36274).
"""
class
UnsafeHTTPConnection
(
client
.
HTTPConnection
):
def
_encode_request
(
self
,
str_url
):
return
str_url
.
encode
(
'utf-8'
)
conn
=
UnsafeHTTPConnection
(
'example.com'
)
conn
.
sock
=
FakeSocket
(
''
)
conn
.
putrequest
(
'GET'
,
'/☃'
)
class
ExtendedReadTest
(
TestCase
):
class
ExtendedReadTest
(
TestCase
):
"""
"""
Test peek(), read1(), readline()
Test peek(), read1(), readline()
...
@@ -1279,6 +1307,7 @@ class ExtendedReadTest(TestCase):
...
@@ -1279,6 +1307,7 @@ class ExtendedReadTest(TestCase):
p
=
self
.
resp
.
peek
(
0
)
p
=
self
.
resp
.
peek
(
0
)
self
.
assertLessEqual
(
0
,
len
(
p
))
self
.
assertLessEqual
(
0
,
len
(
p
))
class
ExtendedReadTestChunked
(
ExtendedReadTest
):
class
ExtendedReadTestChunked
(
ExtendedReadTest
):
"""
"""
Test peek(), read1(), readline() in chunked mode
Test peek(), read1(), readline() in chunked mode
...
...
src/greentest/3.8/test_socket.py
View file @
9796e85a
...
@@ -1897,7 +1897,9 @@ class BasicCANTest(unittest.TestCase):
...
@@ -1897,7 +1897,9 @@ class BasicCANTest(unittest.TestCase):
def
testBindAny
(
self
):
def
testBindAny
(
self
):
with
socket
.
socket
(
socket
.
PF_CAN
,
socket
.
SOCK_RAW
,
socket
.
CAN_RAW
)
as
s
:
with
socket
.
socket
(
socket
.
PF_CAN
,
socket
.
SOCK_RAW
,
socket
.
CAN_RAW
)
as
s
:
s
.
bind
((
''
,
))
address
=
(
''
,
)
s
.
bind
(
address
)
self
.
assertEqual
(
s
.
getsockname
(),
address
)
def
testTooLongInterfaceName
(
self
):
def
testTooLongInterfaceName
(
self
):
# most systems limit IFNAMSIZ to 16, take 1024 to be sure
# most systems limit IFNAMSIZ to 16, take 1024 to be sure
...
...
src/greentest/3.8/test_ssl.py
View file @
9796e85a
This diff is collapsed.
Click to expand it.
src/greentest/3.8/test_subprocess.py
View file @
9796e85a
...
@@ -10,6 +10,7 @@ import os
...
@@ -10,6 +10,7 @@ import os
import
errno
import
errno
import
tempfile
import
tempfile
import
time
import
time
import
traceback
import
selectors
import
selectors
import
sysconfig
import
sysconfig
import
select
import
select
...
@@ -52,10 +53,14 @@ class BaseTestCase(unittest.TestCase):
...
@@ -52,10 +53,14 @@ class BaseTestCase(unittest.TestCase):
support
.
reap_children
()
support
.
reap_children
()
def
tearDown
(
self
):
def
tearDown
(
self
):
for
inst
in
subprocess
.
_active
:
if
not
mswindows
:
inst
.
wait
()
# subprocess._active is not used on Windows and is set to None.
subprocess
.
_cleanup
()
for
inst
in
subprocess
.
_active
:
self
.
assertFalse
(
subprocess
.
_active
,
"subprocess._active not empty"
)
inst
.
wait
()
subprocess
.
_cleanup
()
self
.
assertFalse
(
subprocess
.
_active
,
"subprocess._active not empty"
)
self
.
doCleanups
()
self
.
doCleanups
()
support
.
reap_children
()
support
.
reap_children
()
...
@@ -1553,6 +1558,26 @@ class RunFuncTestCase(BaseTestCase):
...
@@ -1553,6 +1558,26 @@ class RunFuncTestCase(BaseTestCase):
self
.
assertIn
(
'stderr'
,
c
.
exception
.
args
[
0
])
self
.
assertIn
(
'stderr'
,
c
.
exception
.
args
[
0
])
self
.
assertIn
(
'capture_output'
,
c
.
exception
.
args
[
0
])
self
.
assertIn
(
'capture_output'
,
c
.
exception
.
args
[
0
])
# This test _might_ wind up a bit fragile on loaded build+test machines
# as it depends on the timing with wide enough margins for normal situations
# but does assert that it happened "soon enough" to believe the right thing
# happened.
@
unittest
.
skipIf
(
mswindows
,
"requires posix like 'sleep' shell command"
)
def
test_run_with_shell_timeout_and_capture_output
(
self
):
"""Output capturing after a timeout mustn't hang forever on open filehandles."""
before_secs
=
time
.
monotonic
()
try
:
subprocess
.
run
(
'sleep 3'
,
shell
=
True
,
timeout
=
0.1
,
capture_output
=
True
)
# New session unspecified.
except
subprocess
.
TimeoutExpired
as
exc
:
after_secs
=
time
.
monotonic
()
stacks
=
traceback
.
format_exc
()
# assertRaises doesn't give this.
else
:
self
.
fail
(
"TimeoutExpired not raised."
)
self
.
assertLess
(
after_secs
-
before_secs
,
1.5
,
msg
=
"TimeoutExpired was delayed! Bad traceback:
\
n
```
\
n
"
f"
{
stacks
}
```"
)
@
unittest
.
skipIf
(
mswindows
,
"POSIX specific tests"
)
@
unittest
.
skipIf
(
mswindows
,
"POSIX specific tests"
)
class
POSIXProcessTestCase
(
BaseTestCase
):
class
POSIXProcessTestCase
(
BaseTestCase
):
...
@@ -2672,8 +2697,12 @@ class POSIXProcessTestCase(BaseTestCase):
...
@@ -2672,8 +2697,12 @@ class POSIXProcessTestCase(BaseTestCase):
with
support
.
check_warnings
((
''
,
ResourceWarning
)):
with
support
.
check_warnings
((
''
,
ResourceWarning
)):
p
=
None
p
=
None
# check that p is in the active processes list
if
mswindows
:
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
# subprocess._active is not used on Windows and is set to None.
self
.
assertIsNone
(
subprocess
.
_active
)
else
:
# check that p is in the active processes list
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
def
test_leak_fast_process_del_killed
(
self
):
def
test_leak_fast_process_del_killed
(
self
):
# Issue #12650: on Unix, if Popen.__del__() was called before the
# Issue #12650: on Unix, if Popen.__del__() was called before the
...
@@ -2694,8 +2723,12 @@ class POSIXProcessTestCase(BaseTestCase):
...
@@ -2694,8 +2723,12 @@ class POSIXProcessTestCase(BaseTestCase):
p
=
None
p
=
None
os
.
kill
(
pid
,
signal
.
SIGKILL
)
os
.
kill
(
pid
,
signal
.
SIGKILL
)
# check that p is in the active processes list
if
mswindows
:
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
# subprocess._active is not used on Windows and is set to None.
self
.
assertIsNone
(
subprocess
.
_active
)
else
:
# check that p is in the active processes list
self
.
assertIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
# let some time for the process to exit, and create a new Popen: this
# let some time for the process to exit, and create a new Popen: this
# should trigger the wait() of p
# should trigger the wait() of p
...
@@ -2707,7 +2740,11 @@ class POSIXProcessTestCase(BaseTestCase):
...
@@ -2707,7 +2740,11 @@ class POSIXProcessTestCase(BaseTestCase):
pass
pass
# p should have been wait()ed on, and removed from the _active list
# p should have been wait()ed on, and removed from the _active list
self
.
assertRaises
(
OSError
,
os
.
waitpid
,
pid
,
0
)
self
.
assertRaises
(
OSError
,
os
.
waitpid
,
pid
,
0
)
self
.
assertNotIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
if
mswindows
:
# subprocess._active is not used on Windows and is set to None.
self
.
assertIsNone
(
subprocess
.
_active
)
else
:
self
.
assertNotIn
(
ident
,
[
id
(
o
)
for
o
in
subprocess
.
_active
])
def
test_close_fds_after_preexec
(
self
):
def
test_close_fds_after_preexec
(
self
):
fd_status
=
support
.
findfile
(
"fd_status.py"
,
subdir
=
"subprocessdata"
)
fd_status
=
support
.
findfile
(
"fd_status.py"
,
subdir
=
"subprocessdata"
)
...
...
src/greentest/3.8/test_threading.py
View file @
9796e85a
...
@@ -18,7 +18,6 @@ import os
...
@@ -18,7 +18,6 @@ import os
import
subprocess
import
subprocess
import
signal
import
signal
# from test import lock_tests
from
gevent.tests
import
lock_tests
# gevent: use our local copy
from
gevent.tests
import
lock_tests
# gevent: use our local copy
from
test
import
support
from
test
import
support
...
...
src/greentest/3.8/test_wsgiref.py
View file @
9796e85a
...
@@ -293,10 +293,9 @@ class IntegrationTests(TestCase):
...
@@ -293,10 +293,9 @@ class IntegrationTests(TestCase):
received
=
len
(
response
.
read
())
received
=
len
(
response
.
read
())
http
.
close
()
http
.
close
()
background
=
threading
.
Thread
(
target
=
run_client
,
name
=
'gevent'
)
background
=
threading
.
Thread
(
target
=
run_client
)
background
.
start
()
background
.
start
()
server
.
handle_request
()
server
.
handle_request
()
print
(
dir
(
background
))
background
.
join
()
background
.
join
()
self
.
assertEqual
(
received
,
support
.
SOCK_MAX_SIZE
-
100
)
self
.
assertEqual
(
received
,
support
.
SOCK_MAX_SIZE
-
100
)
...
@@ -587,10 +586,10 @@ class HandlerTests(TestCase):
...
@@ -587,10 +586,10 @@ class HandlerTests(TestCase):
expected
.
update
({
expected
.
update
({
# X doesn't exist in os_environ
# X doesn't exist in os_environ
"X"
:
"Y"
,
"X"
:
"Y"
,
# HOME is overriden by TestHandler
# HOME is overrid
d
en by TestHandler
'HOME'
:
"/override/home"
,
'HOME'
:
"/override/home"
,
# overriden by setup_testing_defaults()
# overrid
d
en by setup_testing_defaults()
"SCRIPT_NAME"
:
""
,
"SCRIPT_NAME"
:
""
,
"SERVER_NAME"
:
"127.0.0.1"
,
"SERVER_NAME"
:
"127.0.0.1"
,
...
...
src/greentest/3.8/version
View file @
9796e85a
3.8.0
b4
3.8.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment