Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 67cf0a0

Browse filesBrowse files
committed
StandardError is removed from Python 3
1 parent 67ecdc8 commit 67cf0a0
Copy full SHA for 67cf0a0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎tests/dbapi20.py

Copy file name to clipboardExpand all lines: tests/dbapi20.py
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.