8000 Revert encoding changes in commit fd4f6514 · python/cpython@f93a63b · GitHub
[go: up one dir, main page]

Skip to content

Commit f93a63b

Browse files
author
Erlend E. Aasland
committed
Revert encoding changes in commit fd4f651
1 parent 7208fc5 commit f93a63b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Lib/sqlite3/test/types.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#-*- coding: iso-8859-1 -*-
22
# pysqlite2/test/types.py: tests for type conversion and detection
33
#
4-
# Copyright (C) 2005 Gerhard Häring <gh@ghaering.de>
4+
# Copyright (C) 2005 Gerhard Häring <gh@ghaering.de>
55
#
66
# This file is part of pysqlite.
77
#
@@ -41,10 +41,10 @@ def tearDown(self):
4141
self.con.close()
4242

4343
def test_string(self):
44-
self.cur.execute("insert into test(s) values (?)", ("Österreich",))
44+
self.cur.execute("insert into test(s) values (?)", ("Österreich",))
4545
self.cur.execute("select s from test")
4646
row = self.cur.fetchone()
47-
self.assertEqual(row[0], "Österreich")
47+
self.assertEqual(row[0], "Österreich")
4848

4949
def test_small_int(self):
5050
self.cur.execute("insert into test(i) values (?)", (42,))
@@ -75,9 +75,9 @@ def test_blob(self):
7575
self.assertEqual(row[0], sample)
7676

7777
def test_unicode_execute(self):
78-
self.cur.execute("select 'Österreich'")
78+
self.cur.execute("select 'Österreich'")
7979
row = self.cur.fetchone()
80-
self.assertEqual(row[0], "Österreich")
80+
self.assertEqual(row[0], "Österreich")
8181

8282
class DeclTypesTests(unittest.TestCase):
8383
class Foo:

0 commit comments

Comments
 (0)
0