|
1 | 1 | #-*- coding: iso-8859-1 -*- |
2 | 2 | # pysqlite2/test/types.py: tests for type conversion and detection |
3 | 3 | # |
4 | | -# Copyright (C) 2005 Gerhard Häring <[email protected]> |
| 4 | +# Copyright (C) 2005 Gerhard Häring <[email protected]> |
5 | 5 | # |
6 | 6 | # This file is part of pysqlite. |
7 | 7 | # |
@@ -41,10 +41,10 @@ def tearDown(self): |
41 | 41 | self.con.close() |
42 | 42 |
|
43 | 43 | def test_string(self): |
44 | | - self.cur.execute("insert into test(s) values (?)", ("Österreich",)) |
| 44 | + self.cur.execute("insert into test(s) values (?)", ("Österreich",)) |
45 | 45 | self.cur.execute("select s from test") |
46 | 46 | row = self.cur.fetchone() |
47 | | - self.assertEqual(row[0], "Österreich") |
| 47 | + self.assertEqual(row[0], "Österreich") |
48 | 48 |
|
49 | 49 | def test_small_int(self): |
50 | 50 | self.cur.execute("insert into test(i) values (?)", (42,)) |
@@ -75,9 +75,9 @@ def test_blob(self): |
75 | 75 | self.assertEqual(row[0], sample) |
76 | 76 |
|
77 | 77 | def test_unicode_execute(self): |
78 | | - self.cur.execute("select 'Österreich'") |
| 78 | + self.cur.execute("select 'Österreich'") |
79 | 79 | row = self.cur.fetchone() |
80 | | - self.assertEqual(row[0], "Österreich") |
| 80 | + self.assertEqual(row[0], "Österreich") |
81 | 81 |
|
82 | 82 | class DeclTypesTests(unittest.TestCase): |
83 | 83 | class Foo: |
@@ -318,7 +318,7 @@ def test_cursor_description_cte_simple(self): |
318 | 318 | self.assertIsNotNone(self.cur.description) |
319 | 319 | self.assertEqual(self.cur.description[0][0], "1") |
320 | 320 |
|
321 | | - def test_cursor_description_ctes_multiple_columns(self): |
| 321 | + def test_cursor_description_cte_multiple_columns(self): |
322 | 322 | self.cur.execute("insert into test values(1)") |
323 | 323 | self.cur.execute("insert into test values(2)") |
324 | 324 | self.cur.execute("with testCTE as (select * from test) select * from testCTE") |
|
0 commit comments