From 0f8c1e442ccbf13777c1c4e7c3e27b01c8a437c7 Mon Sep 17 00:00:00 2001 From: lericson Date: Sun, 22 Nov 2009 14:33:00 +0100 Subject: [PATCH] Correctly check the exception raised on empty server list. --- tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests.py b/tests.py index 15e0639..0c38e41 100644 --- a/tests.py +++ b/tests.py @@ -174,6 +174,9 @@ True Empty server lists are bad for your health. >>> c = _pylibmc.client([]) +Traceback (most recent call last): + ... +MemcachedError: empty server list """ # Used to test pickling.