Erlend Egeberg Aasland
deab1e54ff
bpo-42847: Normalise Lib/sqlite3/test/* file encodings (GH-24147)
...
Convert from ISO-8859-1 to UTF-8.
2021-01-07 02:36:35 +02:00
Erlend Egeberg Aasland
849e339a92
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests (GH-20538)
2021-01-07 02:05:07 +02:00
Erlend Egeberg Aasland
cf0b23908c
bpo-40810: Require SQLite 3.7.15 (GH-24106)
2021-01-06 02:02:43 +02:00
Erlend Egeberg Aasland
f7f0ed59bc
bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530)
...
Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.html#version_3_7_15 ):
_"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
2021-01-04 15:16:43 -08:00
Erlend Egeberg Aasland
207c321f13
bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909)
...
Remove code required to support SQLite pre 3.7.3.
Co-written-by: Berker Peksag <berker.peksag@gmail.com >
Co-written-by: Sergey Fedoseev <fedoseev.sergey@gmail.com >
2020-09-07 22:26:54 +01:00
Hai Shi
598a951844
bpo-40275: Use new test.support helper submodules in tests (GH-21764)
2020-08-07 17:18:38 +02:00
Simon Willison
4fc4defd1c
Remove unused var from CheckCancelOperation test (GH-4317)
...
It looks like this was copied from one of the previous tests, which did use it.
2017-11-08 00:06:55 +03:00
Aviv Palivoda
0e6cb2ea62
bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461)
...
conn.set_trace_callback() shouldn't be called multiple times when the
schema is changing.
This has indirectly been fixed by using sqlite3_prepare_v2() in bpo-9303.
2017-04-09 12:11:59 +03:00
Serhiy Storchaka
407ac47690
Issue #27897 : Fixed possible crash in sqlite3.Connection.create_collation()
...
if pass invalid string-like object as a name. Patch by Xiang Zhang.
2016-09-27 00:10:03 +03:00
Berker Peksag
2b50899a28
Remove empty setUp and tearDown methods from sqlite3 tests
...
They are not used as base classes by another tests so they
can safely be removed.
2016-06-14 13:25:11 +03:00
Berker Peksag
48b5c98e6e
Replace more boilerplate code with modern unittest features in sqlite3 tests
2016-06-14 00:42:50 +03:00
Berker Peksag
1003b34c71
Modernize sqlite3 tests
...
Update current tests that use old pattern with assertRaises
to make them more maintainable.
2016-06-12 22:34:49 +03:00
Benjamin Peterson
966f2fca5f
weaken callback count inequality ( closes #20901 )
2014-03-12 21:51:52 -05:00
Serhiy Storchaka
78ee078405
Issue #19601 : Use specific asserts in sqlite3 tests.
2013-11-17 00:39:12 +02:00
Serhiy Storchaka
2efdc90b0f
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:03:46 +02:00
Serhiy Storchaka
3cf96ac248
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:01:47 +02:00
R David Murray
d394455aae
merge #13934 : document sqlite version strings, use correct one in test.
2013-01-10 20:19:35 -05:00
R David Murray
3f7beb99dd
#13934 : document sqlite version strings, use correct one in test.
2013-01-10 20:18:21 -05:00
Petri Lehtinen
aa2c670ee6
Merge branch '3.2'
...
Closes #11689 .
2012-02-17 21:36:52 +02:00
Petri Lehtinen
c86d9e2846
Fix a variable scoping error in an sqlite3 test
...
Closes #11689 .
2012-02-17 21:31:02 +02:00
Petri Lehtinen
f854799d84
Make sqlite3 tests editable with Emacs
...
Change the coding declaration from ISO-8859-1 to iso-8859-1. Emacs
doesn't understand the former.
2012-02-02 20:47:59 +02:00
Antoine Pitrou
f4e181029f
Fix TraceCallbackTests to not use bound parameters (followup to issue #11688 )
2011-04-04 01:50:50 +02:00
Antoine Pitrou
43b21687a5
Improve error message in test
2011-04-04 00:50:01 +02:00
Antoine Pitrou
5bfa0622ec
Issue #11688 : Add sqlite3.Connection.set_trace_callback(). Patch by Torsten Landschoff.
2011-04-04 00:12:04 +02:00
Gregory P. Smith
04cecafce1
change deprecated unittest method calls into their proper names.
2009-07-04 08:32:15 +00:00