diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-01-07 00:36:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 00:36:35 (GMT) |
commit | deab1e54ff1695cdbe87f8db3d2c382d8e78330f (patch) | |
tree | 07e0d8d6cac0d13a29a3817dc4cc968baf64165b /Lib/sqlite3/test/hooks.py | |
parent | 849e339a925fb398be31e566c31b99ce6cdb6006 (diff) | |
download | cpython-deab1e54ff1695cdbe87f8db3d2c382d8e78330f.zip cpython-deab1e54ff1695cdbe87f8db3d2c382d8e78330f.tar.gz cpython-deab1e54ff1695cdbe87f8db3d2c382d8e78330f.tar.bz2 |
bpo-42847: Normalise Lib/sqlite3/test/* file encodings (GH-24147)
Convert from ISO-8859-1 to UTF-8.
Diffstat (limited to 'Lib/sqlite3/test/hooks.py')
-rw-r--r-- | Lib/sqlite3/test/hooks.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py index 4250888..a219e89 100644 --- a/Lib/sqlite3/test/hooks.py +++ b/Lib/sqlite3/test/hooks.py @@ -1,7 +1,6 @@ -#-*- coding: iso-8859-1 -*- # pysqlite2/test/hooks.py: tests for various SQLite-specific hooks # -# Copyright (C) 2006-2007 Gerhard Häring <gh@ghaering.de> +# Copyright (C) 2006-2007 Gerhard Häring <gh@ghaering.de> # # This file is part of pysqlite. # @@ -42,7 +41,7 @@ class CollationTests(unittest.TestCase): def test_create_collation_not_ascii(self): con = sqlite.connect(":memory:") with self.assertRaises(sqlite.ProgrammingError): - con.create_collation("collä", lambda x, y: (x > y) - (x < y)) + con.create_collation("collä", lambda x, y: (x > y) - (x < y)) def test_create_collation_bad_upper(self): class BadUpperStr(str): |