Removed the test for threading support in Cache. That feature has been removed in the previous commit.

This commit is contained in:
Virgil Dupras 2010-01-14 16:17:38 +01:00
parent fc76a843d5
commit 32d9b573c0
1 changed files with 0 additions and 15 deletions

View File

@ -137,18 +137,3 @@ class TCCacheSQLEscape(TestCase):
except KeyError:
self.fail()
class TCCacheThreaded(TestCase):
def test_access_cache(self):
def thread_run():
try:
c['foo'] = [(1,2,3)]
except sqlite.ProgrammingError:
self.fail()
c = Cache()
t = threading.Thread(target=thread_run)
t.start()
t.join()
self.assertEqual([(1,2,3)], c['foo'])