summaryrefslogtreecommitdiff
path: root/mock.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-09-22 07:22:56 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-09-22 07:22:56 -0400
commitff9099051e0daff7b08035713eeca5696ab3217a (patch)
tree13a391e9010e9e0b99ff403ec2fd0252d460ab5a /mock.py
parente3c0b4b2c7d2a92344d30a25467a1e863bbb7d31 (diff)
downloadpython-coveragepy-git-ff9099051e0daff7b08035713eeca5696ab3217a.tar.gz
The best way to get py3k support: same source runs on both, with some contortions.
Diffstat (limited to 'mock.py')
-rw-r--r--mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mock.py b/mock.py
index 03871d6c..795ccc1b 100644
--- a/mock.py
+++ b/mock.py
@@ -80,7 +80,7 @@ class Mock(object):
self.call_count = 0
self.call_args_list = []
self.method_calls = []
- for child in self._children.itervalues():
+ for child in self._children.values():
child.reset_mock()
if isinstance(self._return_value, Mock):
self._return_value.reset_mock()