mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
This commit is contained in:
parent
2db2d3beeb
commit
ebbb14c1a1
3 changed files with 7 additions and 2 deletions
|
@ -58,7 +58,8 @@ class BuildPyTestCase(support.TempdirManager,
|
||||||
pkgdest = os.path.join(destination, "pkg")
|
pkgdest = os.path.join(destination, "pkg")
|
||||||
files = os.listdir(pkgdest)
|
files = os.listdir(pkgdest)
|
||||||
self.assertTrue("__init__.py" in files)
|
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)
|
self.assertTrue("README.txt" in files)
|
||||||
|
|
||||||
def test_empty_package_dir (self):
|
def test_empty_package_dir (self):
|
||||||
|
|
|
@ -61,7 +61,8 @@ class BuildPyTestCase(support.TempdirManager,
|
||||||
pkgdest = os.path.join(destination, "pkg")
|
pkgdest = os.path.join(destination, "pkg")
|
||||||
files = os.listdir(pkgdest)
|
files = os.listdir(pkgdest)
|
||||||
self.assertIn("__init__.py", files)
|
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)
|
self.assertIn("README.txt", files)
|
||||||
|
|
||||||
def test_empty_package_dir(self):
|
def test_empty_package_dir(self):
|
||||||
|
|
|
@ -153,6 +153,9 @@ Core and Builtins
|
||||||
Library
|
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
|
- Issue #12065: connect_ex() on an SSL socket now returns the original errno
|
||||||
when the socket's timeout expires (it used to return None).
|
when the socket's timeout expires (it used to return None).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue