File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
tests/test_contrib/test_hypothesis Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11from returns .contrib .hypothesis .laws import lawful_interfaces
22from returns .result import Result
3-
4- from .test_laws import (
3+ from test_hypothesis .test_laws import (
54 test_custom_interface_with_laws ,
65 test_custom_type_applicative ,
76)
87
98
10- def test_lawful_interfaces__container_defined_in_returns () -> None :
9+ def test_container_defined_in_returns () -> None :
1110 """Check that it returns all interfaces for a container in `returns`."""
1211 result = lawful_interfaces (Result )
1312
@@ -23,7 +22,7 @@ def test_lawful_interfaces__container_defined_in_returns() -> None:
2322 ]
2423
2524
26- def test_lawful_interfaces__container_defined_outside_returns () -> None :
25+ def test_container_defined_outside_returns () -> None :
2726 """Check container defined outside `returns`."""
2827 result = lawful_interfaces (test_custom_type_applicative ._Wrapper ) # noqa: SLF001
2928
@@ -33,7 +32,7 @@ def test_lawful_interfaces__container_defined_outside_returns() -> None:
3332 ]
3433
3534
36- def test_lawful_interfaces__interface_defined_outside_returns () -> None :
35+ def test_interface_defined_outside_returns () -> None :
3736 """Check container with interface defined outside `returns`."""
3837 result = lawful_interfaces (test_custom_interface_with_laws ._Wrapper ) # noqa: SLF001
3938
You can’t perform that action at this time.
0 commit comments