# Path: approvaltests/approvals.py
# def verify(
#     data: Any,
#     reporter: Optional[Reporter] = None,
#     namer: Optional[Namer] = None,
#     encoding: Optional[str] = None,
#     errors: Optional[str] = None,
#     newline: Optional[str] = None,
#     *,  # enforce keyword arguments - https://www.python.org/dev/peps/pep-3102/
#     options: Optional[Options] = None
# ) -> None:
#     """Verify string data against a previously approved version of the string.
# 
#     Args:
#         data: A string containing the data to be compared with approved data from a previous run.
#             On Python 2 this can be a bytes, str, or unicode object. On Python 3 this should be
#             a str object.
# 
#         reporter: An optional Reporter. If None (the default), the default reporter
#             will be used; see get_default_reporter().
# 
#         encoding: An optional encoding to be used when serialising the data to a byte stream for
#             comparison. If None (the default) a locale-dependent encoding will be used; see
#             locale.getpreferredencoding().
# 
#         errors: An optional string that specifies how encoding and decoding errors are to be handled
#             If None (the default) or 'strict', raise a ValueError exception if there is an encoding
#             error. Pass 'ignore' to ignore encoding errors. Pass 'replace' to use a replacement
#             marker (such as '?') when there is malformed data.
# 
#         newline: An optional string that controls how universal newlines work when comparing data.
#             It can be None, '', '\n', '\r', and '\r\n'. If None (the default) universal newlines are
#             enabled and any '\n' characters are translated to the system default line separator
#             given by os.linesep. If newline is '', no translation takes place. If newline is any of
#             the other legal values, any '\n' characters written are translated to the given string.
# 
#     Raises:
#         ApprovalException: If the verification fails because the given string does not match the
#             approved string.
# 
#         ValueError: If data cannot be encoded using the specified encoding when errors is set to
#             None or 'strict'.
#     """
#     options = initialize_options(options, reporter)
#     namer_to_use = namer or options.namer
#     verify_with_namer(
#         data,
#         namer_to_use,
#         encoding=encoding,
#         errors=errors,
#         newline=newline,
#         options=options,
#     )


import unittest
from approvaltests.approvals import verify



class GettingStartedTest(unittest.TestCase):
    def test_simple(self):
        verify("Hello ApprovalTests")


if __name__ == "__main__":

# Path: approvaltests/approvals.py
# def verify(
#     data: Any,
#     reporter: Optional[Reporter] = None,
#     namer: Optional[Namer] = None,
#     encoding: Optional[str] = None,
#     errors: Optional[str] = None,
#     newline: Optional[str] = None,
#     *,  # enforce keyword arguments - https://www.python.org/dev/peps/pep-3102/
#     options: Optional[Options] = None
# ) -> None:
#     """Verify string data against a previously approved version of the string.
# 
#     Args:
#         data: A string containing the data to be compared with approved data from a previous run.
#             On Python 2 this can be a bytes, str, or unicode object. On Python 3 this should be
#             a str object.
# 
#         reporter: An optional Reporter. If None (the default), the default reporter
#             will be used; see get_default_reporter().
# 
#         encoding: An optional encoding to be used when serialising the data to a byte stream for
#             comparison. If None (the default) a locale-dependent encoding will be used; see
#             locale.getpreferredencoding().
# 
#         errors: An optional string that specifies how encoding and decoding errors are to be handled
#             If None (the default) or 'strict', raise a ValueError exception if there is an encoding
#             error. Pass 'ignore' to ignore encoding errors. Pass 'replace' to use a replacement
#             marker (such as '?') when there is malformed data.
# 
#         newline: An optional string that controls how universal newlines work when comparing data.
#             It can be None, '', '\n', '\r', and '\r\n'. If None (the default) universal newlines are
#             enabled and any '\n' characters are translated to the system default line separator
#             given by os.linesep. If newline is '', no translation takes place. If newline is any of
#             the other legal values, any '\n' characters written are translated to the given string.
# 
#     Raises:
#         ApprovalException: If the verification fails because the given string does not match the
#             approved string.
# 
#         ValueError: If data cannot be encoded using the specified encoding when errors is set to
#             None or 'strict'.
#     """
#     options = initialize_options(options, reporter)
#     namer_to_use = namer or options.namer
#     verify_with_namer(
#         data,
#         namer_to_use,
#         encoding=encoding,
#         errors=errors,
#         newline=newline,
#         options=options,
#     )


# Path: tests/examples/getting_started_with_unittest.py
import unittest
from approvaltests.approvals import verify




class GettingStartedTest(unittest.TestCase):
    def test_simple(self):
        verify("Hello ApprovalTests")


if __name__ == "__main__":

    unittest.main()