summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Gajda <quermit@gmail.com>2012-04-22 22:47:58 +0200
committerPrzemyslaw Gajda <quermit@gmail.com>2012-04-22 22:47:58 +0200
commit9befc3dd9a93d1159c7ef8a6d7db0f4f47ae412e (patch)
tree438501c1acc72c49ee8d5e75741b06252b1c518e
parentc3b59f35cbe556bc963c058f60353dfd1ad604ef (diff)
downloadpymox-9befc3dd9a93d1159c7ef8a6d7db0f4f47ae412e.tar.gz
bugfix
-rwxr-xr-xmox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mox.py b/mox.py
index 2ffdf90..096a202 100755
--- a/mox.py
+++ b/mox.py
@@ -167,7 +167,7 @@ class PrivateAttributeError(Error):
def __str__(self):
return ("Attribute '%s' is private and should not be available in a mock "
- "object." % attr)
+ "object." % self._attr)
class ExpectedMockCreationError(Error):