We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67ecdc8 commit 67cf0a0Copy full SHA for 67cf0a0
tests/dbapi20.py
@@ -177,8 +177,8 @@ def test_paramstyle(self):
177
def test_Exceptions(self):
178
# Make sure required exceptions exist, and are in the
179
# defined heirarchy.
180
- self.assertTrue(issubclass(self.driver.Warning,StandardError))
181
- self.assertTrue(issubclass(self.driver.Error,StandardError))
+ self.assertTrue(issubclass(self.driver.Warning,Exception))
+ self.assertTrue(issubclass(self.driver.Error,Exception))
182
self.assertTrue(
183
issubclass(self.driver.InterfaceError,self.driver.Error)
184
)
0 commit comments