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

[MRG] Fix small papercuts: SyntaxWarning and coverage reports #1488

Merged
merged 1 commit into from
Apr 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tests/test_sourmash.py
Original file line number Diff line number Diff line change
Expand Up @@ -4116,12 +4116,11 @@ def test_gather_abund_10_1_ignore_abundance(c):
some_results = False
for row in r:
some_results = True
assert row['average_abund'] is ''
assert row['median_abund'] is ''
assert row['std_abund'] is ''
assert row['average_abund'] == ''
assert row['median_abund'] == ''
assert row['std_abund'] == ''

assert some_results



@utils.in_tempdir
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ commands = pytest \
--cov "{envsitepackagesdir}/sourmash" \
--cov . \
--cov-config "{toxinidir}/tox.ini" \
--cov-report= \
--junitxml {toxworkdir}/junit.{envname}.xml \
{posargs:.}

Expand All @@ -59,6 +60,7 @@ commands = pytest \
--cov "{envsitepackagesdir}/sourmash" \
--cov . \
--cov-config "{toxinidir}/tox.ini" \
--cov-report= \
--junitxml {toxworkdir}/junit.{envname}.xml \
--run-hypothesis \
--hypothesis-show-statistics \
Expand All @@ -72,6 +74,7 @@ commands = pytest \
--cov "{envsitepackagesdir}/sourmash" \
--cov . \
--cov-config "{toxinidir}/tox.ini" \
--cov-report= \
--junitxml {toxworkdir}/junit.{envname}.xml \
-k test_nodegraph \
{posargs:.}
Expand All @@ -83,6 +86,7 @@ commands = pytest \
--cov "{envsitepackagesdir}/sourmash" \
--cov . \
--cov-config "{toxinidir}/tox.ini" \
--cov-report= \
--junitxml {toxworkdir}/junit.{envname}.xml \
-k test_nodegraph \
{posargs:.}
Expand Down