Skip to content

Commit

Permalink
Don't import testing_boolean_values on its own - it confuses pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Nov 27, 2022
1 parent 4d4a7c4 commit 2c67352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

# 3rd party
import click
import coincidence
import pytest
from coincidence import testing_boolean_values
from coincidence.regressions import AdvancedDataRegressionFixture

# this package
Expand Down Expand Up @@ -189,7 +189,7 @@ def test_str2tuple_semicolon(self, value, expects):

class TestStrToBool:

@testing_boolean_values(extra_truthy=[50, -1])
@coincidence.testing_boolean_values(extra_truthy=[50, -1])
def test_strtobool(self, boolean_string, expected_boolean):
assert strtobool(boolean_string) == expected_boolean

Expand Down

0 comments on commit 2c67352

Please sign in to comment.