Closed jaraco closed 12 months ago
Any blockers on this? Would be nice to have.
diffcov is reporting this failure:
importlib_metadata/__init__.py (71.4%): Missing lines 632,635
That doesn't even make sense. One of those lines is blank and the other is the beginning of a docstring (executed unconditionally).
Wait, what? I did just rewrite two commits to remove the unintentionally added other files ("out.txt" and "before.mtree"), but I didn't touch __init__.py
, and now the missed expectation is implicating different lines:
importlib_metadata/__init__.py (71.4%): Missing lines 625,628
At least those lines correspond to the lines changed in this diff :).
I don't understand how the lines aren't covered, given the test specifically exercises the .origin
property.
Oh, maybe the issue is the test isn't derived from unittest.TestCase
so isn't discovered.
Oh, maybe the issue is the test isn't derived from
unittest.TestCase
so isn't discovered.
Yep. That was it... and demonstrates that the test is not in fact capturing the expectation. Hooray for diffcov for catching an otherwise missed expectation.
funny i don't remember what i wanted this for but thanks!
Partial implementation of #404.