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

issue #285 #336

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

issue #285 #336

wants to merge 1 commit into from

Conversation

bradermacher
Copy link

in dump_inline_table change the isinstance check to look for collections.abc.Mapping, not for dict.

This enables UserDict and other classes that derive from collections.abc.Mapping, in addition to dict.

additional change - missed two checks.

in dump_inline_table change the isinstance check to look for collections.abc.Mapping, not for dict. 

This enables UserDict and other classes that derive from collections.abc.Mapping, in addition to dict.

additional change - missed two checks.
@bradermacher bradermacher changed the title issue 285 issue #285 Nov 5, 2020
@codecov-io
Copy link

codecov-io commented Nov 5, 2020

Codecov Report

Merging #336 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #336   +/-   ##
=======================================
  Coverage   89.74%   89.75%           
=======================================
  Files           5        5           
  Lines        1063     1064    +1     
=======================================
+ Hits          954      955    +1     
  Misses        109      109           
Impacted Files Coverage Δ
toml/encoder.py 88.38% <100.00%> (+0.05%) ⬆️

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 3f637db...4d6130b. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants