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/polymorph2.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/polymorph2.py')
-rw-r--r-- | test/orm/inheritance/polymorph2.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/orm/inheritance/polymorph2.py b/test/orm/inheritance/polymorph2.py index 96a8ddbf6..0f0fff672 100644 --- a/test/orm/inheritance/polymorph2.py +++ b/test/orm/inheritance/polymorph2.py @@ -289,7 +289,9 @@ def generate_test(jointype="join1", usedata=False): assert p.data.data == 'ps data' assert m.data.data == 'ms data' - do_test.__name__ = 'test_relationonbaseclass_%s_%s' % (jointype, data and "nodata" or "data") + do_test = _function_named( + do_test, 'test_relationonbaseclass_%s_%s' % ( + jointype, data and "nodata" or "data")) return do_test for jointype in ["join1", "join2", "join3", "join4"]: |