File tree 4 files changed +0
-16
lines changed
pymysql/tests/thirdparty/test_MySQLdb
4 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python -O
2
1
""" Script to test database capabilities and the DB-API interface
3
2
for functionality and memory leaks.
4
3
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
2
1
''' Python DB API 2.0 driver compliance unit test suite.
3
2
4
3
This software is Public Domain and may be used without restrictions.
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
2
1
from . import capabilities
3
2
try :
4
3
import unittest2 as unittest
@@ -99,11 +98,3 @@ def test_literal_float(self):
99
98
100
99
def test_literal_string (self ):
101
100
self .assertTrue ("'foo'" == self .connection .literal ("foo" ))
102
-
103
-
104
- if __name__ == '__main__' :
105
- if test_MySQLdb .leak_test :
106
- import gc
107
- gc .enable ()
108
- gc .set_debug (gc .DEBUG_LEAK )
109
- unittest .main ()
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
2
1
from . import dbapi20
3
2
import pymysql
4
3
from pymysql .tests import base
@@ -204,7 +203,3 @@ def test_nextset(self):
204
203
205
204
finally :
206
205
con .close ()
207
-
208
-
209
- if __name__ == '__main__' :
210
- unittest .main ()
You can’t perform that action at this time.
0 commit comments