mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Remove empty setUp and tearDown methods from sqlite3 tests
They are not used as base classes by another tests so they can safely be removed.
This commit is contained in:
parent
48b13f0427
commit
2b50899a28
2 changed files with 0 additions and 18 deletions
|
@ -695,12 +695,6 @@ class ExtensionTests(unittest.TestCase):
|
|||
self.assertEqual(result, 5, "Basic test of Connection.executescript")
|
||||
|
||||
class ClosedConTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def CheckClosedConCursor(self):
|
||||
con = sqlite.connect(":memory:")
|
||||
con.close()
|
||||
|
@ -768,12 +762,6 @@ class ClosedConTests(unittest.TestCase):
|
|||
con()
|
||||
|
||||
class ClosedCurTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def CheckClosed(self):
|
||||
con = sqlite.connect(":memory:")
|
||||
cur = con.cursor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue