diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-20 13:32:59 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-20 13:32:59 -0500 |
commit | eee9b55f0ccaa5243442a59788acaa04be6ac6be (patch) | |
tree | bc2c4193f6c5db656ab9cc019257c9a6f800a0ca /test/lib/testing.py | |
parent | 07440265c4da9d62671a9ce946c72fd2cda2f0ef (diff) | |
download | sqlalchemy-eee9b55f0ccaa5243442a59788acaa04be6ac6be.tar.gz |
rename 'frozendict' to 'immutabledict', since 'frozen' implies hashability
like frozenset which isn't really the purpose of 'immutabledict' (could be someday,
in which case, we'd change the name back :) )
Diffstat (limited to 'test/lib/testing.py')
-rw-r--r-- | test/lib/testing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/testing.py b/test/lib/testing.py index d6338cf10..cdd5ee258 100644 --- a/test/lib/testing.py +++ b/test/lib/testing.py @@ -723,12 +723,12 @@ class AssertsExecutionResults(object): numbers of rows that the test suite manipulates. """ - class frozendict(dict): + class immutabledict(dict): def __hash__(self): return id(self) found = util.IdentitySet(result) - expected = set([frozendict(e) for e in expected]) + expected = set([immutabledict(e) for e in expected]) for wrong in itertools.ifilterfalse(lambda o: type(o) == cls, found): fail('Unexpected type "%s", expected "%s"' % ( |