]> granicus.if.org Git - python/commitdiff
bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported...
authorpxinwr <peixing.xin@windriver.com>
Fri, 15 Feb 2019 05:04:47 +0000 (13:04 +0800)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 15 Feb 2019 05:04:47 +0000 (21:04 -0800)
https://bugs.python.org/issue35994

Lib/test/test_os.py

index 9e0bef573cb3a83509130b55198f89c4aab08a5b..b7e1c45c79993e40b40a55cb295f53f9ec1faca7 100644 (file)
@@ -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: