summaryrefslogtreecommitdiff
path: root/test/performance/test_odb.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2022-05-18 08:01:38 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2022-05-18 08:01:38 +0800
commite530544546b2a4e5f00e8d9458bf1b895573ec41 (patch)
tree9b957bd812fe98664d3f1f75615dda8242663097 /test/performance/test_odb.py
parentf78fc42b90711c81e06699d1ebdbe69e6648b949 (diff)
downloadgitpython-e530544546b2a4e5f00e8d9458bf1b895573ec41.tar.gz
reformat according to 'black' configuration file.
Diffstat (limited to 'test/performance/test_odb.py')
-rw-r--r--test/performance/test_odb.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/test/performance/test_odb.py b/test/performance/test_odb.py
index 680464c9..4208c418 100644
--- a/test/performance/test_odb.py
+++ b/test/performance/test_odb.py
@@ -63,16 +63,13 @@ class TestObjDBPerformance(TestBigRepoR):
# END for each bloblist
elapsed = time() - st
- msg = (
- "%s: Retrieved %i blob (%i KiB) and their data in %g s ( %f blobs / s, %f KiB / s )"
- % (
- type(repo.odb),
- nb,
- data_bytes / 1000,
- elapsed,
- nb / elapsed,
- (data_bytes / 1000) / elapsed,
- )
+ msg = "%s: Retrieved %i blob (%i KiB) and their data in %g s ( %f blobs / s, %f KiB / s )" % (
+ type(repo.odb),
+ nb,
+ data_bytes / 1000,
+ elapsed,
+ nb / elapsed,
+ (data_bytes / 1000) / elapsed,
)
print(msg, file=sys.stderr)
results[2].append(elapsed)