summaryrefslogtreecommitdiff
path: root/factory/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/base.py')
-rw-r--r--factory/base.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/factory/base.py b/factory/base.py
index 8bb6d95..25d7a14 100644
--- a/factory/base.py
+++ b/factory/base.py
@@ -120,12 +120,6 @@ class BaseFactoryMetaClass(type):
class FactoryMetaClass(BaseFactoryMetaClass):
"""Factory metaclass for handling class association and ordered declarations."""
- ERROR_MESSAGE = """Could not determine what class this factory is for.
- Use the {0} attribute to specify a class."""
- ERROR_MESSAGE_AUTODISCOVERY = ERROR_MESSAGE + """
- Also, autodiscovery failed using the name '{1}'
- based on the Factory name '{2}' in {3}."""
-
@classmethod
def _discover_associated_class(cls, class_name, attrs, inherited=None):
"""Try to find the class associated with this factory.