mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
merge heads
This commit is contained in:
commit
4f99ce9470
2 changed files with 9 additions and 6 deletions
|
@ -16,12 +16,12 @@ except ImportError:
|
||||||
class VersionTestCase(unittest.TestCase):
|
class VersionTestCase(unittest.TestCase):
|
||||||
|
|
||||||
def test_library_version(self):
|
def test_library_version(self):
|
||||||
# On the build system, ZLIB_RUNTIME_VERSION should match ZLIB_VERSION.
|
# Test that the major version of the actual library in use matches the
|
||||||
# ZLIB_RUNTIME_VERSION is the actual library version while ZLIB_VERSION
|
# major version that we were compiled against. We can't guarantee that
|
||||||
# is the version from the header file. On the build system, the headers
|
# the minor versions will match (even on the machine on which the module
|
||||||
# should match with the library exactly. At runtime, only the first
|
# was compiled), and the API is stable between minor versions, so
|
||||||
# digit is required to match.
|
# testing only the major verions avoids spurious failures.
|
||||||
self.assertEqual(zlib.ZLIB_RUNTIME_VERSION, zlib.ZLIB_VERSION)
|
self.assertEqual(zlib.ZLIB_RUNTIME_VERSION[0], zlib.ZLIB_VERSION[0])
|
||||||
|
|
||||||
|
|
||||||
class ChecksumTestCase(unittest.TestCase):
|
class ChecksumTestCase(unittest.TestCase):
|
||||||
|
|
|
@ -461,6 +461,9 @@ Core and Builtins
|
||||||
Library
|
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
|
- Issue #12804: Fix test_socket and test_urllib2net failures when running tests
|
||||||
on a system without internet access.
|
on a system without internet access.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue