diff options
author | Gabor Pali <gabor.pali@ibm.com> | 2023-02-20 11:01:29 +0100 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2023-02-21 13:55:05 -0500 |
commit | 1278cf19fed35582b8e1270e42c7f05e08e42361 (patch) | |
tree | 2ccf3745f8b4b3d16a06d04ad13dc9426e52d056 | |
parent | 9cde1815031cf8947d82fe2e83c3d45664b593e1 (diff) | |
download | couchdb-1278cf19fed35582b8e1270e42c7f05e08e42361.tar.gz |
mango: switch to UTF-8 encoding for every test
Python 3 uses UTF-8 encoding on reading the source files by default
and UTF-8 itself has become more widely adopted in the recent years
therefore it makes sense to remove the associated annotations.
At the same time, it helps to unbreak the Unicode key tests where
the Apple logo ('', as Unicode character) is featured and then got
butchered by forcing the ISO-8859-1 encoding on it.
-rw-r--r-- | src/mango/test/02-basic-find-test.py | 1 | ||||
-rw-r--r-- | src/mango/test/04-key-tests.py | 1 | ||||
-rw-r--r-- | src/mango/test/13-users-db-find-test.py | 1 | ||||
-rw-r--r-- | src/mango/test/user_docs.py | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/mango/test/02-basic-find-test.py b/src/mango/test/02-basic-find-test.py index afdba03a2..059e1fc80 100644 --- a/src/mango/test/02-basic-find-test.py +++ b/src/mango/test/02-basic-find-test.py @@ -1,4 +1,3 @@ -# -*- coding: latin-1 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at diff --git a/src/mango/test/04-key-tests.py b/src/mango/test/04-key-tests.py index a9551c6f8..0cc410321 100644 --- a/src/mango/test/04-key-tests.py +++ b/src/mango/test/04-key-tests.py @@ -1,4 +1,3 @@ -# -*- coding: latin-1 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at diff --git a/src/mango/test/13-users-db-find-test.py b/src/mango/test/13-users-db-find-test.py index 73d15ea1a..7daf2ee7f 100644 --- a/src/mango/test/13-users-db-find-test.py +++ b/src/mango/test/13-users-db-find-test.py @@ -1,4 +1,3 @@ -# -*- coding: latin-1 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at diff --git a/src/mango/test/user_docs.py b/src/mango/test/user_docs.py index 4f06e0342..a1b6c6e1a 100644 --- a/src/mango/test/user_docs.py +++ b/src/mango/test/user_docs.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at |