We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f224223 commit 31467e3Copy full SHA for 31467e3
Lib/sqlite3/test/dbapi.py
@@ -85,7 +85,7 @@ def CheckNotSupportedError(self):
85
86
def CheckErrorCodeOnException(self):
87
with self.assertRaises(sqlite.Error) as cm:
88
- db = sqlite.connect('/no/such/file/exists')
+ db = sqlite.connect('/no/such/file/exists')
89
e = cm.exception
90
self.assertEqual(e.sqlite_errorcode, sqlite.SQLITE_CANTOPEN)
91
self.assertEqual(e.sqlite_errorname, "SQLITE_CANTOPEN")
0 commit comments