Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
798ad274
Kaydet (Commit)
798ad274
authored
Ock 12, 2017
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge 3.6
üst
89483ba1
12c4aba1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
script_helper.py
Lib/test/support/script_helper.py
+18
-7
test_imaplib.py
Lib/test/test_imaplib.py
+1
-1
No files found.
Lib/test/support/script_helper.py
Dosyayı görüntüle @
798ad274
...
...
@@ -67,17 +67,28 @@ def run_python_until_end(*args, **env_vars):
elif
not
env_vars
and
not
env_required
:
# ignore Python environment variables
cmd_line
.
append
(
'-E'
)
# Need to preserve the original environment, for in-place testing of
# shared library builds.
env
=
os
.
environ
.
copy
()
# set TERM='' unless the TERM environment variable is passed explicitly
# see issues #11390 and #18300
if
'TERM'
not
in
env_vars
:
env
[
'TERM'
]
=
''
# But a special flag that can be set to override -- in this case, the
# caller is responsible to pass the full environment.
if
env_vars
.
pop
(
'__cleanenv'
,
None
):
env
=
{}
if
sys
.
platform
==
'win32'
:
# Windows requires at least the SYSTEMROOT environment variable to
# start Python.
env
[
'SYSTEMROOT'
]
=
os
.
environ
[
'SYSTEMROOT'
]
# Other interesting environment variables, not copied currently:
# COMSPEC, HOME, PATH, TEMP, TMPDIR, TMP.
else
:
# Need to preserve the original environment, for in-place testing of
# shared library builds.
env
=
os
.
environ
.
copy
()
# set TERM='' unless the TERM environment variable is passed explicitly
# see issues #11390 and #18300
if
'TERM'
not
in
env_vars
:
env
[
'TERM'
]
=
''
env
.
update
(
env_vars
)
cmd_line
.
extend
(
args
)
proc
=
subprocess
.
Popen
(
cmd_line
,
stdin
=
subprocess
.
PIPE
,
...
...
Lib/test/test_imaplib.py
Dosyayı görüntüle @
798ad274
...
...
@@ -477,7 +477,7 @@ class NewIMAPTests(NewIMAPTestsMixin, unittest.TestCase):
@unittest.skipUnless
(
ssl
,
"SSL not available"
)
class
NewIMAPSSLTests
(
NewIMAPTestsMixin
,
unittest
.
TestCase
):
imap_class
=
imaplib
.
IMAP4_SSL
imap_class
=
IMAP4_SSL
server_class
=
SecureTCPServer
def
test_ssl_raises
(
self
):
...
...
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