# Path: ulid/providers/time/base.py
# class Provider(metaclass=abc.ABCMeta):
#     def milliseconds(self) -> hints.Int:
#     def microseconds(self) -> hints.Int:


import inspect
from ulid.providers.time import base
"""
    test_providers_time_base
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Tests for the :mod:`~ulid.providers.time.base` module.
"""



def test_provider_is_abstract():
    """
    Assert that :class:`~ulid.providers.time.base.Provider` is an abstract class.
    """

# Path: ulid/providers/time/base.py
# class Provider(metaclass=abc.ABCMeta):
#     def milliseconds(self) -> hints.Int:
#     def microseconds(self) -> hints.Int:


# Path: tests/test_providers_time_base.py
import inspect
from ulid.providers.time import base

"""
    test_providers_time_base
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Tests for the :mod:`~ulid.providers.time.base` module.
"""



def test_provider_is_abstract():
    """
    Assert that :class:`~ulid.providers.time.base.Provider` is an abstract class.
    """

    assert inspect.isabstract(base.Provider)