summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2016-04-07 00:16:14 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2016-04-07 00:16:14 +0200
commitfbcf1285b9b756ef7b8d8cf7fcfe8ad245f79bf6 (patch)
tree7f66a72b0e27390e3cca5efb389ca0f42a2e8f16
parenta17b036d0b12a35a24864ec6fb9dee8d3d54ff03 (diff)
downloadfactory-boy-fbcf1285b9b756ef7b8d8cf7fcfe8ad245f79bf6.tar
factory-boy-fbcf1285b9b756ef7b8d8cf7fcfe8ad245f79bf6.tar.gz
Fix a17b036: Error messages have moved.
-rw-r--r--tests/test_containers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_containers.py b/tests/test_containers.py
index ea6ddff..1b87b2e 100644
--- a/tests/test_containers.py
+++ b/tests/test_containers.py
@@ -102,7 +102,7 @@ class LazyStubTestCase(unittest.TestCase):
def evaluate(self, obj, container=None):
try:
return super(LazyAttrDefault, self).evaluate(obj, container)
- except containers.CyclicDefinitionError:
+ except errors.CyclicDefinitionError:
return self.defvalue
stub = containers.LazyStub({