diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_memcache.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_memcache.py b/tests/test_memcache.py index 321dc7b..7c34189 100644 --- a/tests/test_memcache.py +++ b/tests/test_memcache.py @@ -6,17 +6,6 @@ import six from memcache import Client, SERVER_MAX_KEY_LENGTH, SERVER_MAX_VALUE_LENGTH -try: - _str_cls = basestring -except NameError: - _str_cls = str - - -def to_s(val): - if not isinstance(val, _str_cls): - return "%s (%s)" % (val, type(val)) - return "%s" % val - class FooStruct(object): |