summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorpxinwr <peixing.xin@windriver.com>2019-02-15 05:04:47 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-02-15 05:04:47 (GMT)
commit3e028b2d40370dc986b6f3146a7ae927bc119f97 (patch)
tree44abcb44b40f11fe372551c3c05f91e7d4df2440 /Lib
parent5723263a3a39a05b6a2f567e0e7771792e6e2f5b (diff)
downloadcpython-3e028b2d40370dc986b6f3146a7ae927bc119f97.zip
cpython-3e028b2d40370dc986b6f3146a7ae927bc119f97.tar.gz
cpython-3e028b2d40370dc986b6f3146a7ae927bc119f97.tar.bz2
bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported (GH-11853)
https://bugs.python.org/issue35994
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 9e0bef5..b7e1c45 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: