Explorar o código

Fixed test to pass in django 1.1

Vitaly Babiy %!s(int64=16) %!d(string=hai) anos
pai
achega
3fed8d4bf2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      celery/tests/test_worker_job.py

+ 1 - 0
celery/tests/test_worker_job.py

@@ -72,6 +72,7 @@ class TestJail(unittest.TestCase):
         cache.settings.CACHE_BACKEND = "libmemcached"
         cache._was_closed = False
         old_cache_parse_backend = getattr(cache, "parse_backend_uri", None)
+        delattr(cache, 'parse_backend_uri')
 
         def monkeypatched_cache_close(*args, **kwargs):
             cache._was_closed = True