diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-01-11 10:12:12 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-01-13 10:57:41 -0500 |
commit | fa6dd376bb24845724287d980a98ea50eb1cfab1 (patch) | |
tree | 91e536c76f4b76b8997b02f5cd5a41de29dc90ef /test/orm/test_joins.py | |
parent | c703b9ce89483b6f44b97d1fbf56f8df8b14305a (diff) | |
download | sqlalchemy-fa6dd376bb24845724287d980a98ea50eb1cfab1.tar.gz |
Support python3.6
Corrects some warnings and adds tox config. Adds DeprecationWarning
to the error category. Large sweep for string literals w/ backslashes
as this is common in docstrings
Co-authored-by: Andrii Soldatenko
Fixes: #3886
Change-Id: Ia7c838dfbbe70b262622ed0803d581edc736e085
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/337
Diffstat (limited to 'test/orm/test_joins.py')
-rw-r--r-- | test/orm/test_joins.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/orm/test_joins.py b/test/orm/test_joins.py index 01f8627bc..0fe829ea4 100644 --- a/test/orm/test_joins.py +++ b/test/orm/test_joins.py @@ -442,8 +442,8 @@ class JoinTest(QueryTest, AssertsCompiledSQL): assert_raises_message( sa_exc.InvalidRequestError, - "Don't know how to join from x; please use select_from\(\) to " - "establish the left entity/selectable of this join", + r"Don't know how to join from x; please use select_from\(\) to " + r"establish the left entity/selectable of this join", sess.query(literal_column('x'), User).join, Address ) @@ -455,8 +455,8 @@ class JoinTest(QueryTest, AssertsCompiledSQL): assert_raises_message( sa_exc.InvalidRequestError, - "No entities to join from; please use select_from\(\) to " - "establish the left entity/selectable of this join", + r"No entities to join from; please use select_from\(\) to " + r"establish the left entity/selectable of this join", sess.query().join, Address ) |