File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 57
57
)
58
58
59
59
- repo : https://github.com/psf/black
60
- rev : 23.1 .0
60
+ rev : 23.3 .0
61
61
hooks :
62
62
- id : black
63
63
Original file line number Diff line number Diff line change @@ -146,32 +146,24 @@ def test_complete(no_vcs: bool) -> None:
146
146
147
147
entry_points = zipf .read ("my_package-1.2.3.dist-info/entry_points.txt" )
148
148
149
- assert (
150
- entry_points .decode ()
151
- == """\
149
+ assert entry_points .decode () == """\
152
150
[console_scripts]
153
151
extra-script=my_package.extra:main[time]
154
152
my-2nd-script=my_package:main2
155
153
my-script=my_package:main
156
154
157
155
"""
158
- )
159
156
wheel_data = zipf .read ("my_package-1.2.3.dist-info/WHEEL" ).decode ()
160
157
161
- assert (
162
- wheel_data
163
- == f"""\
158
+ assert wheel_data == f"""\
164
159
Wheel-Version: 1.0
165
160
Generator: poetry-core { __version__ }
166
161
Root-Is-Purelib: true
167
162
Tag: py3-none-any
168
163
"""
169
- )
170
164
wheel_data = zipf .read ("my_package-1.2.3.dist-info/METADATA" ).decode ()
171
165
172
- assert (
173
- wheel_data
174
- == """\
166
+ assert wheel_data == """\
175
167
Metadata-Version: 2.1
176
168
Name: my-package
177
169
Version: 1.2.3
@@ -208,7 +200,6 @@ def test_complete(no_vcs: bool) -> None:
208
200
==========
209
201
210
202
"""
211
- )
212
203
actual_records = zipf .read ("my_package-1.2.3.dist-info/RECORD" ).decode ()
213
204
214
205
# The SHA hashes vary per operating systems.
You can’t perform that action at this time.
0 commit comments