mirror of
https://github.com/correl/typesafe-monads.git
synced 2024-11-14 19:19:32 +00:00
8 lines
218 B
Python
8 lines
218 B
Python
import pytest # type: ignore
|
|
from typing import Type
|
|
from monads import Maybe, List, Result, Future
|
|
|
|
|
|
@pytest.fixture(scope="module", params=[Maybe, List, Result])
|
|
def monad(request) -> Type:
|
|
return request.param
|