Skip to content

Commit 67cf0a0

Browse files
committed
StandardError is removed from Python 3
1 parent 67ecdc8 commit 67cf0a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dbapi20.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ def test_paramstyle(self):
177177
def test_Exceptions(self):
178178
# Make sure required exceptions exist, and are in the
179179
# defined heirarchy.
180-
self.assertTrue(issubclass(self.driver.Warning,StandardError))
181-
self.assertTrue(issubclass(self.driver.Error,StandardError))
180+
self.assertTrue(issubclass(self.driver.Warning,Exception))
181+
self.assertTrue(issubclass(self.driver.Error,Exception))
182182
self.assertTrue(
183183
issubclass(self.driver.InterfaceError,self.driver.Error)
184184
)

0 commit comments

Comments
 (0)