Correctly check the exception raised on empty server list.
This commit is contained in:
parent
0c7fcee690
commit
0f8c1e442c
3
tests.py
3
tests.py
@ -174,6 +174,9 @@ True
|
|||||||
|
|
||||||
Empty server lists are bad for your health.
|
Empty server lists are bad for your health.
|
||||||
>>> c = _pylibmc.client([])
|
>>> c = _pylibmc.client([])
|
||||||
|
Traceback (most recent call last):
|
||||||
|
...
|
||||||
|
MemcachedError: empty server list
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Used to test pickling.
|
# Used to test pickling.
|
||||||
|
Reference in New Issue
Block a user