From 32d9b573c08f904da35af4341181803ca6411bba Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 14 Jan 2010 16:17:38 +0100 Subject: [PATCH] Removed the test for threading support in Cache. That feature has been removed in the previous commit. --- core_pe/tests/cache_test.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core_pe/tests/cache_test.py b/core_pe/tests/cache_test.py index 6a9854cb..61617e2b 100644 --- a/core_pe/tests/cache_test.py +++ b/core_pe/tests/cache_test.py @@ -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']) -