[Python-checkins] bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported (GH-11853)

Miss Islington (bot) webhook-mailer at python.org
Fri Feb 15 00:04:53 EST 2019


https://github.com/python/cpython/commit/3e028b2d40370dc986b6f3146a7ae927bc119f97
commit: 3e028b2d40370dc986b6f3146a7ae927bc119f97
branch: master
author: pxinwr <peixing.xin at windriver.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019-02-14T21:04:47-08:00
summary:

bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported (GH-11853)



https://bugs.python.org/issue35994

files:
M Lib/test/test_os.py

diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 9e0bef573cb3..b7e1c45c7999 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -923,7 +923,7 @@ def setUp(self):
                               ["broken_link", "broken_link2", "broken_link3",
                                "tmp3"])
         else:
-            self.sub2_tree = (sub2_path, [], ["tmp3"])
+            self.sub2_tree = (sub2_path, ["SUB21"], ["tmp3"])
 
         os.chmod(sub21_path, 0)
         try:



More information about the Python-checkins mailing list