Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add xfailing test case for #545 #712

Merged
merged 2 commits into from
Jan 30, 2022
Merged

add xfailing test case for #545 #712

merged 2 commits into from
Jan 30, 2022

Conversation

Nothing4You
Copy link
Collaborator

What do these changes do?

add xfailing test case for #545
this is ported from PyMySQL/PyMySQL#450, also adds a test case for Cursor.execute()

Are there changes in behavior for the user?

no

Related issue number

#545

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add a new news fragment to CHANGES.txt

this is ported from PyMySQL/PyMySQL#450, also adds a test case for Cursor.execute()
@codecov
Copy link

codecov bot commented Jan 30, 2022

Codecov Report

Merging #712 (dba3400) into master (c93fad3) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #712      +/-   ##
==========================================
+ Coverage   92.66%   92.69%   +0.02%     
==========================================
  Files          35       35              
  Lines        5413     5434      +21     
  Branches      584      586       +2     
==========================================
+ Hits         5016     5037      +21     
  Misses        309      309              
  Partials       88       88              
Flag Coverage Δ
ubuntu-latest_3.10_mariadb-10.2 89.47% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.10_mariadb-10.3 89.47% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.10_mariadb-10.4 89.47% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.10_mariadb-10.5 89.45% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.10_mariadb-10.6 89.45% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.10_mariadb-10.7 89.45% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.10_mysql-5.7 90.17% <95.23%> (+0.01%) ⬆️
ubuntu-latest_3.10_mysql-8.0 91.58% <95.23%> (+0.01%) ⬆️
ubuntu-latest_3.7_mariadb-10.2 88.88% <94.73%> (+0.02%) ⬆️
ubuntu-latest_3.7_mariadb-10.3 88.88% <94.73%> (+0.02%) ⬆️
ubuntu-latest_3.7_mariadb-10.4 88.88% <94.73%> (+0.02%) ⬆️
ubuntu-latest_3.7_mariadb-10.5 88.86% <94.73%> (+0.02%) ⬆️
ubuntu-latest_3.7_mariadb-10.6 88.86% <94.73%> (+0.02%) ⬆️
ubuntu-latest_3.7_mariadb-10.7 88.86% <94.73%> (+0.02%) ⬆️
ubuntu-latest_3.7_mysql-5.7 89.62% <94.73%> (+0.01%) ⬆️
ubuntu-latest_3.7_mysql-8.0 91.13% <94.73%> (+0.01%) ⬆️
ubuntu-latest_3.8_mariadb-10.2 89.51% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.8_mariadb-10.3 89.51% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.8_mariadb-10.4 89.51% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.8_mariadb-10.5 89.49% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.8_mariadb-10.6 89.49% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.8_mariadb-10.7 89.49% <95.23%> (+0.02%) ⬆️
ubuntu-latest_3.8_mysql-5.7 90.21% <95.23%> (+0.01%) ⬆️
ubuntu-latest_3.8_mysql-8.0 91.61% <95.23%> (+0.01%) ⬆️
ubuntu-latest_3.9_mariadb-10.2 89.40% <100.00%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.3 89.40% <100.00%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.4 89.40% <100.00%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.5 89.38% <100.00%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.6 89.38% <100.00%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.7 89.38% <100.00%> (+0.04%) ⬆️
ubuntu-latest_3.9_mysql-5.7 90.10% <100.00%> (+0.03%) ⬆️
ubuntu-latest_3.9_mysql-8.0 91.50% <100.00%> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
tests/test_cursor.py 100.00% <100.00%> (ø)

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 c93fad3...dba3400. Read the comment docs.

Nothing4You added a commit that referenced this pull request Jan 30, 2022
while we do not yet strictly require it this simplifies maintenance.
e.g. the xfailing test from #712 gets a different error type starting with PyMySQL 0.10.0.
it will also allow us to adopt the backwards incompatible changes from PyMySQL 0.10 and 1.0.
as our test suite only runs with the latest supported PyMySQL version we currently cannot
reliably test older versions either.
Nothing4You added a commit that referenced this pull request Jan 30, 2022
while we do not yet strictly require it this simplifies maintenance.
e.g. the xfailing test from #712 gets a different error type starting with PyMySQL 0.10.0.
it will also allow us to adopt the backwards incompatible changes from PyMySQL 0.10 and 1.0.
as our test suite only runs with the latest supported PyMySQL version we currently cannot
reliably test older versions either.
@Nothing4You Nothing4You merged commit 2aef3c7 into master Jan 30, 2022
@Nothing4You Nothing4You deleted the test-545 branch January 30, 2022 08:18
@Nothing4You Nothing4You added pymysql pymysql-port Awaiting or implementing port of PyMySQL change labels Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pymysql pymysql-port Awaiting or implementing port of PyMySQL change test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant