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
26408df8
Kaydet (Commit)
26408df8
authored
Tem 21, 2014
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #21976: Fix test_ssl to accept LibreSSL version strings.
Thanks to William Orr.
üst
41323e74
dfab935c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
test_ssl.py
Lib/test/test_ssl.py
+10
-6
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_ssl.py
Dosyayı görüntüle @
26408df8
...
...
@@ -295,11 +295,11 @@ class BasicSocketTests(unittest.TestCase):
# Some sanity checks follow
# >= 0.9
self
.
assertGreaterEqual
(
n
,
0x900000
)
# <
2
.0
self
.
assertLess
(
n
,
0x
2
0000000
)
# <
3
.0
self
.
assertLess
(
n
,
0x
3
0000000
)
major
,
minor
,
fix
,
patch
,
status
=
t
self
.
assertGreaterEqual
(
major
,
0
)
self
.
assertLess
(
major
,
2
)
self
.
assertLess
(
major
,
3
)
self
.
assertGreaterEqual
(
minor
,
0
)
self
.
assertLess
(
minor
,
256
)
self
.
assertGreaterEqual
(
fix
,
0
)
...
...
@@ -308,9 +308,13 @@ class BasicSocketTests(unittest.TestCase):
self
.
assertLessEqual
(
patch
,
26
)
self
.
assertGreaterEqual
(
status
,
0
)
self
.
assertLessEqual
(
status
,
15
)
# Version string as returned by OpenSSL, the format might change
self
.
assertTrue
(
s
.
startswith
(
"OpenSSL {:d}.{:d}.{:d}"
.
format
(
major
,
minor
,
fix
)),
(
s
,
t
))
# Version string as returned by {Open,Libre}SSL, the format might change
if
"LibreSSL"
in
s
:
self
.
assertTrue
(
s
.
startswith
(
"LibreSSL {:d}.{:d}"
.
format
(
major
,
minor
)),
(
s
,
t
))
else
:
self
.
assertTrue
(
s
.
startswith
(
"OpenSSL {:d}.{:d}.{:d}"
.
format
(
major
,
minor
,
fix
)),
(
s
,
t
))
@support.cpython_only
def
test_refcycle
(
self
):
...
...
Misc/ACKS
Dosyayı görüntüle @
26408df8
...
...
@@ -989,6 +989,7 @@ Piet van Oostrum
Tomas Oppelstrup
Jason Orendorff
Douglas Orr
William Orr
Michele Orrù
Oleg Oshmyan
Denis S. Otkidach
...
...
Misc/NEWS
Dosyayı görüntüle @
26408df8
...
...
@@ -704,6 +704,9 @@ Documentation
Tests
-----
- Issue #21976: Fix test_ssl to accept LibreSSL version strings. Thanks
to William Orr.
- Issue #21918: Converted test_tools from a module to a package containing
separate test files for each tested script.
...
...
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