Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
diffoscope
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reproducible Builds
diffoscope
Commits
10c0c6fc
Commit
10c0c6fc
authored
1 year ago
by
Chris Lamb
Browse files
Options
Downloads
Patches
Plain Diff
Make test_zip black clean.
Gah, this was somehow not run before last release. :(
parent
3fd36f76
Loading
Loading
No related merge requests found
Pipeline
#636901
passed
1 year ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/comparators/test_zip.py
+4
-4
4 additions, 4 deletions
tests/comparators/test_zip.py
with
4 additions
and
4 deletions
tests/comparators/test_zip.py
+
4
−
4
View file @
10c0c6fc
...
...
@@ -87,7 +87,7 @@ def test_mozzip_identification(mozzip1):
@skipif
(
sys
.
version_info
>=
(
3
,
11
,
8
),
reason
=
"
Test fails under 3.11.8+; possible regression
"
reason
=
"
Test fails under 3.11.8+; possible regression
"
,
)
def
test_mozzip_no_differences
(
mozzip1
):
difference
=
mozzip1
.
compare
(
mozzip1
)
...
...
@@ -102,7 +102,7 @@ def mozzip_differences(mozzip1, mozzip2):
@skip_unless_tools_exist
(
"
zipinfo
"
)
@skipif
(
sys
.
version_info
>=
(
3
,
11
,
8
),
reason
=
"
Test fails under 3.11.8+; possible regression
"
reason
=
"
Test fails under 3.11.8+; possible regression
"
,
)
def
test_mozzip_metadata
(
mozzip_differences
,
mozzip1
,
mozzip2
):
assert_diff
(
mozzip_differences
[
0
],
"
mozzip_zipinfo_expected_diff
"
)
...
...
@@ -111,7 +111,7 @@ def test_mozzip_metadata(mozzip_differences, mozzip1, mozzip2):
@skip_unless_tools_exist
(
"
zipinfo
"
)
@skipif
(
sys
.
version_info
>=
(
3
,
11
,
8
),
reason
=
"
Test fails under 3.11.8+; possible regression
"
reason
=
"
Test fails under 3.11.8+; possible regression
"
,
)
def
test_mozzip_compressed_files
(
mozzip_differences
):
assert
mozzip_differences
[
-
1
].
source1
==
"
dir/text
"
...
...
@@ -122,7 +122,7 @@ def test_mozzip_compressed_files(mozzip_differences):
@skip_unless_tools_exist
(
"
zipinfo
"
)
@skipif
(
sys
.
version_info
>=
(
3
,
11
,
8
),
reason
=
"
Test fails under 3.11.8+; possible regression
"
reason
=
"
Test fails under 3.11.8+; possible regression
"
,
)
def
test_mozzip_compare_non_existing
(
monkeypatch
,
mozzip1
):
assert_non_existing
(
monkeypatch
,
mozzip1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment