Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
Forgot to activate pre-commit hooks on a test machine,
resulting in a check-in where black wasn't used.
  • Loading branch information
ronaldoussoren committed Apr 21, 2022
1 parent 53243a7 commit 5a4516c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion py2app_tests/test_basic_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ def test_framework_versions(self):
if not os.path.exists(path):
return

names = { nm for nm in os.listdir(os.path.join(path, "Versions")) if "-" not in nm }
names = {
nm for nm in os.listdir(os.path.join(path, "Versions")) if "-" not in nm
}
ver_str = "%d.%d" % sys.version_info[:2]
self.assertEqual(names, {"Current", ver_str})
self.assertEqual(
Expand Down
4 changes: 3 additions & 1 deletion py2app_tests/test_basic_app_with_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ def test_framework_versions(self):
if not os.path.exists(path):
return

names = { fn for fn in os.listdir(os.path.join(path, "Versions")) if "-" not in fn}
names = {
fn for fn in os.listdir(os.path.join(path, "Versions")) if "-" not in fn
}
ver_str = "%d.%d" % sys.version_info[:2]
self.assertEqual(names, {"Current", ver_str})
self.assertEqual(
Expand Down

0 comments on commit 5a4516c

Please sign in to comment.