Report pylibmc version in tester.
This commit is contained in:
parent
a0dcf907c2
commit
279544a468
1
tests.py
1
tests.py
@ -183,6 +183,7 @@ def is_alive(addr):
|
||||
if __name__ == "__main__":
|
||||
print "Starting tests with _pylibmc at", _pylibmc.__file__
|
||||
print "Reported libmemcached version:", _pylibmc.libmemcached_version
|
||||
print "Reported pylibmc version:", _pylibmc.__version__
|
||||
if not is_alive(test_server):
|
||||
raise SystemExit("Test server (%r) not alive." % (test_server,))
|
||||
import doctest
|
||||
|
Reference in New Issue
Block a user