From df4d22c3f1df578739b96f74719616d4dc5e7baf Mon Sep 17 00:00:00 2001 From: Sai Rahul Poruri Date: Sat, 12 Sep 2020 13:27:53 +0100 Subject: [PATCH] CLN : Remove utf-8 coding cookies in source files On Python 3, utf-8 is the default python source code encoding. so, the coding cookies on files that specify utf-8 are not needed anymore. modified: tornado/_locale_data.py modified: tornado/locale.py modified: tornado/test/curl_httpclient_test.py modified: tornado/test/httpclient_test.py modified: tornado/test/httputil_test.py modified: tornado/test/options_test.py modified: tornado/test/util_test.py --- tornado/_locale_data.py | 2 -- tornado/locale.py | 2 -- tornado/test/curl_httpclient_test.py | 1 - tornado/test/httpclient_test.py | 1 - tornado/test/httputil_test.py | 1 - tornado/test/options_test.py | 1 - tornado/test/util_test.py | 1 - 7 files changed, 9 deletions(-) diff --git a/tornado/_locale_data.py b/tornado/_locale_data.py index 91416d9b4..c706230ee 100644 --- a/tornado/_locale_data.py +++ b/tornado/_locale_data.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Copyright 2012 Facebook # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/tornado/locale.py b/tornado/locale.py index 52aa1af9d..654e83671 100644 --- a/tornado/locale.py +++ b/tornado/locale.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Copyright 2009 Facebook # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/tornado/test/curl_httpclient_test.py b/tornado/test/curl_httpclient_test.py index d8d42f6bd..994e8c808 100644 --- a/tornado/test/curl_httpclient_test.py +++ b/tornado/test/curl_httpclient_test.py @@ -1,4 +1,3 @@ -# coding: utf-8 from hashlib import md5 import unittest diff --git a/tornado/test/httpclient_test.py b/tornado/test/httpclient_test.py index 7b2a43c54..dc4608ec9 100644 --- a/tornado/test/httpclient_test.py +++ b/tornado/test/httpclient_test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import base64 import binascii from contextlib import closing diff --git a/tornado/test/httputil_test.py b/tornado/test/httputil_test.py index 2ebd90603..0fad403b9 100644 --- a/tornado/test/httputil_test.py +++ b/tornado/test/httputil_test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from tornado.httputil import ( url_concat, parse_multipart_form_data, diff --git a/tornado/test/options_test.py b/tornado/test/options_test.py index 075959260..6aedbec32 100644 --- a/tornado/test/options_test.py +++ b/tornado/test/options_test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import datetime from io import StringIO import os diff --git a/tornado/test/util_test.py b/tornado/test/util_test.py index 8ecd3519c..89aa9671a 100644 --- a/tornado/test/util_test.py +++ b/tornado/test/util_test.py @@ -1,4 +1,3 @@ -# coding: utf-8 from io import StringIO import re import sys -- 2.47.2