1
0
Fork 0
mirror of https://github.com/correl/typesafe-monads.git synced 2025-03-29 11:43:29 -09:00
typesafe-monads/tests/fixtures.py
2018-10-13 02:27:39 -04:00

8 lines
210 B
Python

import pytest # type: ignore
from typing import Type
from monads import Maybe, List, Result
@pytest.fixture(scope="module", params=[Maybe, List, Result])
def monad(request) -> Type:
return request.param