diff options
| author | Jason Kirtland <jek@discorporate.us> | 2008-04-25 20:44:02 +0000 |
|---|---|---|
| committer | Jason Kirtland <jek@discorporate.us> | 2008-04-25 20:44:02 +0000 |
| commit | 49895a84fd59fd4c71f2526be3ceb878711ef99f (patch) | |
| tree | 8b831143426c344f92c0fd90311f773bc327ab34 /lib/sqlalchemy/orm | |
| parent | b24f982a90253795fcd8312f22b62e398a9c2bb0 (diff) | |
| download | sqlalchemy-49895a84fd59fd4c71f2526be3ceb878711ef99f.tar.gz | |
Expanded --noncomparable to cover all comparision ops
Diffstat (limited to 'lib/sqlalchemy/orm')
| -rw-r--r-- | lib/sqlalchemy/orm/collections.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/collections.py b/lib/sqlalchemy/orm/collections.py index 838591d32..1c07fb809 100644 --- a/lib/sqlalchemy/orm/collections.py +++ b/lib/sqlalchemy/orm/collections.py @@ -1376,6 +1376,7 @@ class MappedCollection(dict): key = self.keyfunc(value) # Let self[key] raise if key is not in this collection + # testlib.pragma exempt:__ne__ if self[key] != value: raise exceptions.InvalidRequestError( "Can not remove '%s': collection holds '%s' for key '%s'. " |
