File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -233,10 +233,7 @@ def test_module_constants(self):
233
233
"SQLITE_WARNING_AUTOINDEX" ,
234
234
]
235
235
if sqlite .version_info >= (3 , 8 , 1 ):
236
- consts += [
237
- "SQLITE_CANTOPEN_CONVPATH" ,
238
- "SQLITE_IOERR_CONVPATH" ,
239
- ]
236
+ consts += ["SQLITE_CANTOPEN_CONVPATH" , "SQLITE_IOERR_CONVPATH" ]
240
237
if sqlite .version_info >= (3 , 8 , 10 ):
241
238
consts += [
242
239
"SQLITE_AUTH_USER" ,
@@ -281,10 +278,7 @@ def test_module_constants(self):
281
278
if sqlite .version_info >= (3 , 34 , 0 ):
282
279
const .append ("SQLITE_IOERR_CORRUPTFS" )
283
280
if sqlite .version_info >= (3 , 37 , 0 ):
284
- consts += [
285
- "SQLITE_CANTOPEN_EXISTS" ,
286
- "SQLITE_CONSTRAINT_DATATYPE" ,
287
- ]
281
+ consts += ["SQLITE_CANTOPEN_EXISTS" , "SQLITE_CONSTRAINT_DATATYPE" ]
288
282
for const in consts :
289
283
with self .subTest (const = const ):
290
284
self .assertTrue (hasattr (sqlite , const ))
You can’t perform that action at this time.
0 commit comments