Skip to content

Commit d4f7d94

Browse files
Apply suggestions from code review
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent f2482cb commit d4f7d94

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Lib/test/test___all__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def check_all(self, modname):
4848
raise FailedImport(modname)
4949
if not hasattr(sys.modules[modname], "__all__"):
5050
raise NoAll(modname)
51-
5251
names = {}
5352
with self.subTest(module=modname):
5453
with warnings_helper.check_warnings(
@@ -76,7 +75,6 @@ def check_all(self, modname):
7675
# Verify __dir__ is non-empty and doesn't produce an error
7776
self.assertTrue(dir(sys.modules[modname]))
7877

79-
8078
def walk_modules(self, basedir, modpath):
8179
for fn in sorted(os.listdir(basedir)):
8280
path = os.path.join(basedir, fn)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fixed tab completion / ``dir()`` on ``concurrent.futures``.
1+
Fix tab completion and :func:`dir` on :mod:`concurrent.futures`.

0 commit comments

Comments
 (0)