Skip to content

Commit 6a55e5c

Browse files
committed
Linting
1 parent 17e9d45 commit 6a55e5c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/functional/api/test_simple.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,14 @@ def test_simple_attestations_from_upload(webtest):
7676
serialized_macaroon = f"pypi-{m.serialize()}"
7777

7878
credentials = base64.b64encode(
79-
f"__token__:{serialized_macaroon}".encode("utf-8")
79+
f"__token__:{serialized_macaroon}".encode()
8080
).decode("utf-8")
8181

8282
with open("./tests/functional/_fixtures/sampleproject-3.0.0.tar.gz", "rb") as f:
8383
content = f.read()
8484

8585
with open(
8686
"./tests/functional/_fixtures/sampleproject-3.0.0.tar.gz.publish.attestation",
87-
"r",
8887
) as f:
8988
attestation = f.read()
9089

0 commit comments

Comments
 (0)