aio-libs / aiomysql

aiomysql is a library for accessing a MySQL database from the asyncio
https://aiomysql.rtfd.io
MIT License
1.76k stars 256 forks source link

catch another warning in tests #819

Closed Nothing4You closed 2 years ago

Nothing4You commented 2 years ago

What do these changes do?

Catch another warning in tests, so we have one less uncaught warning. Also adjusts another instance of the same warning in the test to be more specific about which warning to catch.

Are there changes in behavior for the user?

no

codecov[bot] commented 2 years ago

Codecov Report

Merging #819 (4ca033a) into master (3b3d054) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #819   +/-   ##
=======================================
  Coverage   92.72%   92.72%           
=======================================
  Files          38       38           
  Lines        5569     5570    +1     
  Branches      943      944    +1     
=======================================
+ Hits         5164     5165    +1     
  Misses        317      317           
  Partials       88       88           
Flag Coverage Δ
ubuntu-latest_3.10_mariadb-10.3 89.28% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.10_mariadb-10.4 89.28% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.10_mariadb-10.5 89.26% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.10_mariadb-10.6 89.26% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.10_mariadb-10.7 89.26% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.10_mariadb-10.8 89.26% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.10_mysql-5.7 89.96% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.10_mysql-8.0 91.34% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mariadb-10.3 89.24% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mariadb-10.4 89.24% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mariadb-10.5 89.22% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mariadb-10.6 89.22% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mariadb-10.7 89.22% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mariadb-10.8 89.22% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mysql-5.7 89.92% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.11-dev_mysql-8.0 91.31% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mariadb-10.3 88.68% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mariadb-10.4 88.68% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mariadb-10.5 88.66% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mariadb-10.6 88.66% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mariadb-10.7 88.66% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mariadb-10.8 88.66% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mysql-5.7 89.40% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.7_mysql-8.0 90.87% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mariadb-10.3 89.32% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mariadb-10.4 89.32% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mariadb-10.5 89.30% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mariadb-10.6 89.30% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mariadb-10.7 89.30% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mariadb-10.8 89.30% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mysql-5.7 90.00% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.8_mysql-8.0 91.37% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mariadb-10.3 89.17% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mariadb-10.4 89.17% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mariadb-10.5 89.16% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mariadb-10.6 89.16% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mariadb-10.7 89.16% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mariadb-10.8 89.16% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mysql-5.7 89.86% <100.00%> (+<0.01%) :arrow_up:
ubuntu-latest_3.9_mysql-8.0 91.22% <100.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/test_sscursor.py 98.75% <100.00%> (+<0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3b3d054...4ca033a. Read the comment docs.