somehow the change in
4beecfb90 merged with failing
pep8. Fix those and also fix hardcoded "basepython" version.
Change-Id: Id38674661e038499aef76770e9799517e3613933
"without using the text"
):
# use :bindparam style
- eq_(sess.scalar("select id from users where id=:id", {"id": 7}), 7)
+ eq_(
+ sess.scalar(
+ "select id from users where id=:id", {"id": 7}
+ ),
+ 7,
+ )
def test_session_str(self):
s1 = Session(testing.db)
finally:
seq.drop(connection)
-
def test_parameter_execute(self):
users = self.tables.users
sess = Session(bind=testing.db)
# thanks to https://julien.danjou.info/the-best-flake8-extensions/
[testenv:pep8]
-basepython = python3.7
+basepython = python3
deps=
flake8
flake8-import-order