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
4f99ce94
Kaydet (Commit)
4f99ce94
authored
Ock 25, 2012
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge heads
üst
a5f6d0e0
131c7079
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
test_zlib.py
Lib/test/test_zlib.py
+6
-6
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_zlib.py
Dosyayı görüntüle @
4f99ce94
...
...
@@ -16,12 +16,12 @@ except ImportError:
class
VersionTestCase
(
unittest
.
TestCase
):
def
test_library_version
(
self
):
#
On the build system, ZLIB_RUNTIME_VERSION should match ZLIB_VERSION.
#
ZLIB_RUNTIME_VERSION is the actual library version while ZLIB_VERSION
#
is the version from the header file. On the build system, the headers
#
should match with the library exactly. At runtime, only the first
#
digit is required to match
.
self
.
assertEqual
(
zlib
.
ZLIB_RUNTIME_VERSION
,
zlib
.
ZLIB_VERSION
)
#
Test that the major version of the actual library in use matches the
#
major version that we were compiled against. We can't guarantee that
#
the minor versions will match (even on the machine on which the module
#
was compiled), and the API is stable between minor versions, so
#
testing only the major verions avoids spurious failures
.
self
.
assertEqual
(
zlib
.
ZLIB_RUNTIME_VERSION
[
0
],
zlib
.
ZLIB_VERSION
[
0
]
)
class
ChecksumTestCase
(
unittest
.
TestCase
):
...
...
Misc/NEWS
Dosyayı görüntüle @
4f99ce94
...
...
@@ -461,6 +461,9 @@ Core and Builtins
Library
-------
- Issue #13862: Fix spurious failure in test_zlib due to runtime/compile time
minor versions not matching.
- Issue #12804: Fix test_socket and test_urllib2net failures when running tests
on a system without internet access.
...
...
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