New issue 34 by almostob...@gmail.com: Mox ExpectedMethodCallsError's
_str__ method prints out one character per line
http://code.google.com/p/pymox/issues/detail?id=34
My Fix:
Adding this line to the top of str method of ExpectedMethodCallsError in
mox.py fixes the problem (or this symptom anyway):
if isinstance(self._expected_methods, str):
self._expected_methods = self._expected_methods.split("\n")
Hm, this is a strange one, and it seems more like a bandaid than a proper
fix. The real problem seems to be that the self._expected_calls_queue is
being populated with a string somehow, instead of being used as a deque().