Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix doctest error #152

Merged
merged 1 commit into from

2 participants

@oldtopos

Replace expected return value with proper string

John Novak Fix doctest error
Replace expected return value with proper string
e79f9c0
@vinothchandar vinothchandar merged commit 8e6d766 into voldemort:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 2, 2013
  1. Fix doctest error

    John Novak authored
    Replace expected return value with proper string
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 clients/python/voldemort/serialization/json_serializer.py
View
4 clients/python/voldemort/serialization/json_serializer.py
@@ -1189,8 +1189,8 @@ def _write_dict(self, output, items, typedef):
>>> s._write_dict(f, {'b':2, 'c':3}, OrderedDict((('a','int16'), ('b','int32'))))
Traceback (most recent call last):
...
- SerializationException: Missing key: 'a' required by type: {'a':'int16', 'b':'int32'}
-
+ SerializationException: Missing key: 'a' required by type: OrderedDict([('a', 'int16'), ('b', 'int32')])
+
The object being serialized must be a dict:
>>> f = StringIO.StringIO()
Something went wrong with that request. Please try again.