Skip to content

Commit fccba3f

Browse files
Apply suggestion from @hugovk
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent f74e4ca commit fccba3f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Lib/test/test_compileall.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,9 +625,10 @@ def f(self, ext=ext, switch=switch):
625625
['-m', 'compileall', '-q', self.pkgdir]))
626626
# Verify the __pycache__ directory contents.
627627
self.assertTrue(os.path.exists(self.pkgdir_cachedir))
628-
expected = ['.gitignore'] + \
629-
sorted(base.format(sys.implementation.cache_tag, ext)
630-
for base in ('__init__.{}.{}', 'bar.{}.{}'))
628+
expected = ['.gitignore'] + sorted(
629+
base.format(sys.implementation.cache_tag, ext)
630+
for base in ('__init__.{}.{}', 'bar.{}.{}')
631+
)
631632
self.assertEqual(sorted(os.listdir(self.pkgdir_cachedir)), expected)
632633
# Make sure there are no .pyc files in the source directory.
633634
self.assertFalse([fn for fn in os.listdir(self.pkgdir)

0 commit comments

Comments
 (0)