

import pytest

from datasets.utils.version import Version


@pytest.mark.parametrize(
    'other, expected_equality'       ,      [
        (Version('1.0.0'				), True),
        ('1.0.0', True),
        (Version('2.0.0'				), False),
        ('2.0.0', False),
        ('1', False),
        ('a', False),
        (1, False),
        (None, False),
    ]       ,      )
def     _UpperCAmelCase				(     _SCREAMING_SNAKE_CASE    :						int       ,      _SCREAMING_SNAKE_CASE    :						Union[str, Any]				):





    """simple docstring"""


    SCREAMING_SNAKE_CASE_													=  Version('1.0.0'				)
    assert (version == other) is expected_equality
    assert (version != other) is not expected_equality
    assert (hash(_SCREAMING_SNAKE_CASE				) == hash(_SCREAMING_SNAKE_CASE				)) is expected_equality





def     _UpperCAmelCase				(     _SCREAMING_SNAKE_CASE    :						str				):





    """simple docstring"""


    return "".join(chr(ord(_SCREAMING_SNAKE_CASE				) + 32				) if 'A' <= char <= 'Z' else char for char in word				)


if __name__ == "__main__":
       from doctest import testmod

       testmod()


