diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-01-19 23:37:11 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-01-19 23:37:11 +0000 |
commit | 4be99db15b7a62b37493c86da07bcc787f44a7df (patch) | |
tree | b9d71342f22e307a08c38487d63c795039f10b96 /test/orm/inheritance/magazine.py | |
parent | 21193cebe22f44982cb70ecd64743df63494b17d (diff) | |
download | sqlalchemy-4be99db15b7a62b37493c86da07bcc787f44a7df.tar.gz |
- Restored 2.3 compat. in lib/sqlalchemy
- Part one of test suite fixes to run on 2.3
Lots of failures still around sets; sets.Set differs from __builtin__.set
particularly in the binops. We depend on set extensively now and may need to
provide a corrected sets.Set subclass on 2.3.
Diffstat (limited to 'test/orm/inheritance/magazine.py')
-rw-r--r-- | test/orm/inheritance/magazine.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/orm/inheritance/magazine.py b/test/orm/inheritance/magazine.py index b5c5096f5..621f9639f 100644 --- a/test/orm/inheritance/magazine.py +++ b/test/orm/inheritance/magazine.py @@ -207,7 +207,8 @@ def generate_round_trip_test(use_unions=False, use_joins=False): print [page, page2, page3] assert repr(p.issues[0].locations[0].magazine.pages) == repr([page, page2, page3]), repr(p.issues[0].locations[0].magazine.pages) - test_roundtrip.__name__ = "test_%s" % (not use_union and (use_joins and "joins" or "select") or "unions") + test_roundtrip = _function_named( + test_roundtrip, "test_%s" % (not use_union and (use_joins and "joins" or "select") or "unions")) setattr(MagazineTest, test_roundtrip.__name__, test_roundtrip) for (use_union, use_join) in [(True, False), (False, True), (False, False)]: |