mirror of
https://github.com/correl/typesafe-monads.git
synced 2025-02-26 11:02:38 +00:00
9 lines
198 B
Python
9 lines
198 B
Python
|
import pytest # type: ignore
|
||
|
from typing import Type
|
||
|
from monads import Maybe, Result
|
||
|
|
||
|
|
||
|
@pytest.fixture(scope="module", params=[Maybe, Result])
|
||
|
def monad(request) -> Type:
|
||
|
return request.param
|