Coverage for src/inline_snapshot_pandas/__init__.py: 100%
9 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-08-21 21:53 +0200
« prev ^ index » next coverage.py v7.6.1, created at 2024-08-21 21:53 +0200
1from pandas.testing import assert_frame_equal
2from pandas.testing import assert_index_equal
3from pandas.testing import assert_series_equal
6def setup():
7 pass
10def snapshot(value=None):
11 assert (
12 value is not None
13 ), """\
14This version of inline-snapshot-pandas provides only limited snapshot support.
15All functions are implemented as noop's, which allows the execution of tests for non-insider users.
17The full feature set is currently only available for insiders and can not be installed from PyPI.
19You have to become a sponsor first:
21 https://github.com/sponsors/15r10nk
23and can then install the library from the private github repo:
25 https://github.com:15r10nk-insiders/inline-snapshot-pandas.git
26"""
27 return value
30__all__ = (
31 "assert_frame_equal",
32 "assert_index_equal",
33 "assert_series_equal",
34 "setup",
35 "snapshot",
36)