File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,28 @@ Module functions and constants
109109------------------------------
110110
111111
112+ .. data :: version
113+
114+ The version number of this module, as a string. This is not the version of
115+ the SQLite library.
116+
117+
118+ .. data :: version_info
119+
120+ The version number of this module, as a tuple of integers. This is not the
121+ version of the SQLite library.
122+
123+
124+ .. data :: sqlite_version
125+
126+ The version number of the run-time SQLite library, as a string.
127+
128+
129+ .. data :: sqlite_version_info
130+
131+ The version number of the run-time SQLite library, as a tuple of integers.
132+
133+
112134.. data :: PARSE_DECLTYPES
113135
114136 This constant is meant to be used with the *detect_types * parameter of the
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ def CheckCreateCollationNotAscii(self):
4747 except sqlite .ProgrammingError as e :
4848 pass
4949
50+ @unittest .skipIf (sqlite .sqlite_version_info < (3 , 2 , 1 ),
51+ 'old SQLite versions crash on this test' )
5052 def CheckCollationIsUsed (self ):
51- if sqlite .version_info < (3 , 2 , 1 ): # old SQLite versions crash on this test
52- return
5353 def mycoll (x , y ):
5454 # reverse order
5555 return - ((x > y ) - (x < y ))
You can’t perform that action at this time.
0 commit comments