We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5abaa38 + 22af5d3 commit c3d89c2Copy full SHA for c3d89c2
Lib/test/test_pydoc/test_pydoc.py
@@ -1303,6 +1303,11 @@ def test_apropos_with_unreadable_dir(self):
1303
@os_helper.skip_unless_working_chmod
1304
def test_apropos_empty_doc(self):
1305
pkgdir = os.path.join(TESTFN, 'walkpkg')
1306
+ if support.is_emscripten:
1307
+ # Emscripten's readdir implementation is buggy on directories
1308
+ # with read permission but no execute permission.
1309
+ old_umask = os.umask(0)
1310
+ self.addCleanup(os.umask, old_umask)
1311
os.mkdir(pkgdir)
1312
self.addCleanup(rmtree, pkgdir)
1313
init_path = os.path.join(pkgdir, '__init__.py')
0 commit comments