summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--memcache.py26
-rw-r--r--tests/test_setmulti.py2
2 files changed, 14 insertions, 14 deletions
diff --git a/memcache.py b/memcache.py
index 564c0d8..8eff94d 100644
--- a/memcache.py
+++ b/memcache.py
@@ -1430,19 +1430,19 @@ if __name__ == "__main__":
print(mc.get_multi(["a_string", "an_integer"]))
# removed from the protocol
- #if test_setget("timed_delete", 'foo'):
- # print "Testing timed delete ...",
- # if mc.delete("timed_delete", 1):
- # print("OK")
- # else:
- # print("FAIL")
- # failures += 1
- # print "Checking results of timed delete ..."
- # if mc.get("timed_delete") == None:
- # print("OK")
- # else:
- # print("FAIL")
- # failures += 1
+ # if test_setget("timed_delete", 'foo'):
+ # print "Testing timed delete ...",
+ # if mc.delete("timed_delete", 1):
+ # print("OK")
+ # else:
+ # print("FAIL")
+ # failures += 1
+ # print "Checking results of timed delete ..."
+ # if mc.get("timed_delete") == None:
+ # print("OK")
+ # else:
+ # print("FAIL")
+ # failures += 1
print("Testing get(unknown value) ...", end=" ")
print(to_s(mc.get("unknown_value")))
diff --git a/tests/test_setmulti.py b/tests/test_setmulti.py
index a80cf28..cd06b04 100644
--- a/tests/test_setmulti.py
+++ b/tests/test_setmulti.py
@@ -2,7 +2,7 @@
#
# Tests for set_multi.
#
-#===============
+# ==============
# This is based on a skeleton test file, more information at:
#
# https://github.com/linsomniac/python-unittest-skeleton