From 04a39399ef13197e433757fe13108ad472461094 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 14 Feb 2019 21:23:07 -0800 Subject: [PATCH] bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported (GH-11853) https://bugs.python.org/issue35994 (cherry picked from commit 3e028b2d40370dc986b6f3146a7ae927bc119f97) Co-authored-by: pxinwr --- Lib/test/test_os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index a50eb7e296e6..ff22fbeee7b1 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -923,7 +923,7 @@ class WalkTests(unittest.TestCase): ["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: -- 2.47.3