Correctly check the exception raised on empty server list.

This commit is contained in:
lericson 2009-11-22 14:33:00 +01:00
parent 0c7fcee690
commit 0f8c1e442c

View File

@ -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.