Open bowlofeggs opened 4 years ago
Hmm, I have not been able to reproduce this issue on my mac or in CI
here is a test run and a pip freeze with my mac
py.test .
============================= test session starts ==============================
platform darwin -- Python 3.7.4, pytest-5.3.4, py-1.8.1, pluggy-0.13.1
rootdir: /Users/bachmann/code/diff_cover
plugins: cov-2.8.1
collected 234 items
diff_cover/tests/test_args.py ..... [ 2%]
diff_cover/tests/test_diff_cover_main.py .. [ 2%]
diff_cover/tests/test_diff_quality_main.py ........... [ 7%]
diff_cover/tests/test_diff_reporter.py .............................. [ 20%]
diff_cover/tests/test_git_diff.py ..... [ 22%]
diff_cover/tests/test_git_path.py ..... [ 24%]
diff_cover/tests/test_integration.py ................................... [ 39%]
........ [ 43%]
diff_cover/tests/test_java_violations_reporter.py .............. [ 49%]
diff_cover/tests/test_report_generator.py ..................... [ 58%]
diff_cover/tests/test_snippets.py ................. [ 65%]
diff_cover/tests/test_violations_reporter.py ........................... [ 76%]
...................................................... [100%]
============================= 234 passed in 6.69s ==============================
~/code/diff_cover master 7s
venv ❯ pip freeze
astroid==2.3.3
attrs==19.3.0
coverage==5.0.3
entrypoints==0.3
flake8==3.7.9
importlib-metadata==1.4.0
inflect==4.0.0
isort==4.3.21
Jinja2==2.10.3
jinja2-pluralize==0.3.0
lazy-object-proxy==1.4.3
MarkupSafe==1.1.1
mccabe==0.6.1
mock==3.0.5
more-itertools==8.1.0
packaging==20.0
pluggy==0.13.1
py==1.8.1
pycodestyle==2.5.0
pydocstyle==5.0.2
pyflakes==2.1.1
Pygments==2.5.2
pylint==2.4.4
pyparsing==2.4.6
pytest==5.3.4
pytest-cov==2.8.1
six==1.14.0
snowballstemmer==2.0.0
typed-ast==1.4.1
wcwidth==0.1.8
wrapt==1.11.2
zipp==2.0.0
Here is a CI run on master. Maybe the logs have a hint https://travis-ci.org/Bachmann1234/diff_cover/builds/640267623
Greetings!
I am seeing two test failures when I run the test suite on Fedora Rawhide. I used git bisect, and this commit seems to be where the two failures were introduced: https://github.com/Bachmann1234/diff_cover/commit/7e9f14d7769978b9f463852dd9f32a70c964780a
I see that the commit message references a change in pycodestyle, but Rawhide has pycodestyle 2.5.0, which seems to be the latest version. Is there perhaps some other dependency that I should look at?