diff options
Diffstat (limited to 'factory/containers.py')
-rw-r--r-- | factory/containers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/factory/containers.py b/factory/containers.py index d50cb71..946fbd3 100644 --- a/factory/containers.py +++ b/factory/containers.py @@ -124,7 +124,7 @@ class DeclarationDict(dict): return False elif isinstance(value, declarations.OrderedDeclaration): return True - return (not name.startswith("_") and not name.startswith("FACTORY_")) + return (not name.startswith("_")) def update_with_public(self, d): """Updates the DeclarationDict from a class definition dict. @@ -167,7 +167,7 @@ class PostGenerationDeclarationDict(DeclarationDict): class LazyValue(object): """Some kind of "lazy evaluating" object.""" - def evaluate(self, obj, containers=()): # pragma: no cover + def evaluate(self, obj, containers=()): """Compute the value, using the given object.""" raise NotImplementedError("This is an abstract method.") |