Skip to content

Commit e39ecb7

Browse files
committed
Small manual formatting improvements
This adds a trailing "," in a few multi-line function calls in test/, where putting one argument per line was intended and is clearer. This is so that when black is run over test/, it recognizes the form and avoids collapsing it.
1 parent a774182 commit e39ecb7

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

test/test_commit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ def check_entries(path, changes):
173173
".github/workflows/Future.yml" : {
174174
'insertions': 57,
175175
'deletions': 0,
176-
'lines': 57
176+
'lines': 57,
177177
},
178178
".github/workflows/test_pytest.yml" : {
179179
'insertions': 0,
180180
'deletions': 55,
181-
'lines': 55
181+
'lines': 55,
182182
},
183183
}
184184
assert path in expected

test/test_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def test_references_and_objects(self, rw_dir):
481481
@pytest.mark.xfail(
482482
sys.platform == "cygwin",
483483
reason="Cygwin GitPython can't find SHA for submodule",
484-
raises=ValueError
484+
raises=ValueError,
485485
)
486486
def test_submodules(self):
487487
# [1-test_submodules]

test/test_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def test_repo_odbtype(self):
11151115
@pytest.mark.xfail(
11161116
sys.platform == "cygwin",
11171117
reason="Cygwin GitPython can't find submodule SHA",
1118-
raises=ValueError
1118+
raises=ValueError,
11191119
)
11201120
def test_submodules(self):
11211121
self.assertEqual(len(self.rorepo.submodules), 1) # non-recursive

test/test_submodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def test_base_bare(self, rwrepo):
469469
@pytest.mark.xfail(
470470
sys.platform == "cygwin",
471471
reason="Cygwin GitPython can't find submodule SHA",
472-
raises=ValueError
472+
raises=ValueError,
473473
)
474474
@skipIf(
475475
HIDE_WINDOWS_KNOWN_ERRORS,

test/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_lock_file(self):
159159
@pytest.mark.xfail(
160160
sys.platform == "cygwin",
161161
reason="Cygwin fails here for some reason, always",
162-
raises=AssertionError
162+
raises=AssertionError,
163163
)
164164
def test_blocking_lock_file(self):
165165
my_file = tempfile.mktemp()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy