summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-12-24 08:53:38 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2020-12-25 07:26:06 -0800
commit2e380249913683311737c1566073f36e485cde70 (patch)
treef3936e00d83057abfe2ce9e0deea5d6e561478de /tools
parent1e558d7c1dac02f148499e79d932fefbe636b4e6 (diff)
downloadpip-2e380249913683311737c1566073f36e485cde70.tar.gz
Drop u prefix from str literals
Unnecessary since dropping Python 2 support. This makes one test case from test_str_to_display a duplicate and so has been removed.
Diffstat (limited to 'tools')
-rw-r--r--tools/automation/release/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/automation/release/__init__.py b/tools/automation/release/__init__.py
index 042723100..c1364cfc4 100644
--- a/tools/automation/release/__init__.py
+++ b/tools/automation/release/__init__.py
@@ -76,8 +76,8 @@ def generate_authors(filename: str) -> None:
# Write our authors to the AUTHORS file
with io.open(filename, "w", encoding="utf-8") as fp:
- fp.write(u"\n".join(authors))
- fp.write(u"\n")
+ fp.write("\n".join(authors))
+ fp.write("\n")
def commit_file(session: Session, filename: str, *, message: str) -> None: