Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c67352

Browse files
committed
Don't import testing_boolean_values on its own - it confuses pytest
1 parent 4d4a7c4 commit 2c67352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
# 3rd party
1818
import click
19+
import coincidence
1920
import pytest
20-
from coincidence import testing_boolean_values
2121
from coincidence.regressions import AdvancedDataRegressionFixture
2222

2323
# this package
@@ -189,7 +189,7 @@ def test_str2tuple_semicolon(self, value, expects):
189189

190190
class TestStrToBool:
191191

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

0 commit comments

Comments
 (0)