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 8685efc

Browse filesBrowse files
committed
I don't know how this got lost. Git makes me feel like a git.
1 parent 080902e commit 8685efc
Copy full SHA for 8685efc

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-1
lines changed

‎MySQLdb/tests/capabilities.py

Copy file name to clipboardExpand all lines: MySQLdb/tests/capabilities.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from time import time
99
import array
1010
import unittest
11+
from configdb import connection_factory
1112

1213

1314
class DatabaseTest(unittest.TestCase):
@@ -21,7 +22,7 @@ class DatabaseTest(unittest.TestCase):
2122

2223
def setUp(self):
2324
import gc
24-
db = self.db_module.connect(*self.connect_args, **self.connect_kwargs)
25+
db = connection_factory(**self.connect_kwargs)
2526
self.connection = db
2627
self.cursor = db.cursor()
2728
# TODO: this needs to be re-evaluated for Python 3

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.