summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/context.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-01-01 15:30:15 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2022-01-01 15:30:15 -0500
commit924d38e660981ae2a7d55355603223e0cdf9e4ee (patch)
tree3cbe769ffd9569c335793eb0efbc5c32079d4bc2 /lib/sqlalchemy/orm/context.py
parenteee7a3add99df2865e6d907f29f84f6d4ce22a8b (diff)
downloadsqlalchemy-924d38e660981ae2a7d55355603223e0cdf9e4ee.tar.gz
adjust error message assertion for TypeError
in eee7a3add99df2865e6d907f2 I added a few TypeError tests, and some python interpreters produce a message like "join() got an unexpected...", others seem to produce "Query.join() got an unexpected..." the pattern is strange, all Python 3.10's seem to return the class name. For Python 3.8 and 3.9, my local intepreters are doing the Python 3.10 behavior but github actions are doing the older behavior. Python 3.7 both here and on github actions are doing the older behavior. In any case, adjust the regexps to match both. Change-Id: I3ab13e2be51ab243f8f6bcecf26fd03070cec17f
Diffstat (limited to 'lib/sqlalchemy/orm/context.py')
0 files changed, 0 insertions, 0 deletions