mirror of https://github.com/python/cpython
This commit is contained in:
parent
2db2d3beeb
commit
ebbb14c1a1
|
@ -58,7 +58,8 @@ class BuildPyTestCase(support.TempdirManager,
|
|||
pkgdest = os.path.join(destination, "pkg")
|
||||
files = os.listdir(pkgdest)
|
||||
self.assertTrue("__init__.py" in files)
|
||||
self.assertTrue("__init__.pyc" in files)
|
||||
if not sys.dont_write_bytecode:
|
||||
self.assertTrue("__init__.pyc" in files)
|
||||
self.assertTrue("README.txt" in files)
|
||||
|
||||
def test_empty_package_dir (self):
|
||||
|
|
|
@ -61,7 +61,8 @@ class BuildPyTestCase(support.TempdirManager,
|
|||
pkgdest = os.path.join(destination, "pkg")
|
||||
files = os.listdir(pkgdest)
|
||||
self.assertIn("__init__.py", files)
|
||||
self.assertIn("__init__.pyc", files)
|
||||
if not sys.dont_write_bytecode:
|
||||
self.assertIn("__init__.pyc", files)
|
||||
self.assertIn("README.txt", files)
|
||||
|
||||
def test_empty_package_dir(self):
|
||||
|
|
|
@ -153,6 +153,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #12120, #12119: skip a test in packaging and distutils
|
||||
if sys.dont_write_bytecode is set to True.
|
||||
|
||||
- Issue #12065: connect_ex() on an SSL socket now returns the original errno
|
||||
when the socket's timeout expires (it used to return None).
|
||||
|
||||
|
|
Loading…
Reference in New Issue