summaryrefslogtreecommitdiff
path: root/Lib/sqlite3
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-06-14 13:25:11 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-06-14 13:25:11 +0300
commit2b50899a28c6fa860f4654224dbdf60c47c72821 (patch)
treed2e773989cbb3853515a8567e26fcc1a5bd07752 /Lib/sqlite3
parent48b13f042746d4c8bf369877e3f40c3e0bbee1b7 (diff)
downloadcpython-git-2b50899a28c6fa860f4654224dbdf60c47c72821.tar.gz
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.
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r--Lib/sqlite3/test/dbapi.py12
-rw-r--r--Lib/sqlite3/test/hooks.py6
2 files changed, 0 insertions, 18 deletions
diff --git a/Lib/sqlite3/test/dbapi.py b/Lib/sqlite3/test/dbapi.py
index 903e599031..d9c32282a5 100644
--- a/Lib/sqlite3/test/dbapi.py
+++ b/Lib/sqlite3/test/dbapi.py
@@ -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()
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py
index de69569d1c..cafff932b4 100644
--- a/Lib/sqlite3/test/hooks.py
+++ b/Lib/sqlite3/test/hooks.py
@@ -25,12 +25,6 @@ import unittest
import sqlite3 as sqlite
class CollationTests(unittest.TestCase):
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
def CheckCreateCollationNotCallable(self):
con = sqlite.connect(":memory:")
with self.assertRaises(TypeError) as cm: