File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ jobs:
337337 - name : flake8 Lint
338338 uses : py-actions/flake8@84ec6726560b6d5bd68f2a5bed83d62b52bb50ba # v2.3.0
339339 with :
340- flake8-version : 5.0.4
340+ flake8-version : 7.3.0
341341 path : aiomysql
342342 args : tests examples
343343
Original file line number Diff line number Diff line change 11coverage == 7.10.6
22# flake8 version is also specified in .github/workflows/ci-cd.yml
3- flake8 == 5.0.4
3+ flake8 == 7.3.0
44ipdb == 0.13.13
55pytest == 8.4.2
66pytest-cov == 7.0.0
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ async def test_default_fields(make_engine):
7878 assert row .number == 100
7979 assert row .description == 'default test'
8080 assert row .enabled is True
81- assert type (row .created_at ) == datetime .datetime
81+ assert isinstance (row .created_at , datetime .datetime )
8282
8383
8484@pytest .mark .run_loop
Original file line number Diff line number Diff line change @@ -103,5 +103,5 @@ async def test_ssdictcursor(connection):
103103 c = await conn .cursor (aiomysql .cursors .SSDictCursor )
104104 await c .execute ("SELECT * from dictcursor where name='bob'" )
105105 r = await c .fetchall ()
106- assert [BOB ] == r ,\
106+ assert [BOB ] == r , \
107107 "fetch a 1 row result via fetchall failed via DictCursor"
You can’t perform that action at this time.
0 commit comments