extra formatter for snapshottest
Project description
snapshottest_ext
extra formatter for snapshottest
Usage
# use with pytest
import pandas as pd
from snapshottest_ext.dataframe import PandasSnapshot
def test_format(snapshot):
df = pd.DataFrame([['a', 'b'], ['c', 'd']],
columns=['col 1', 'col 2'])
snapshot.assert_match(PandasSnapshot(df))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snapshottest_ext-0.7.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for snapshottest_ext-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a42e3bd2db746e74bfd0e023aecd00caead35a0600b66257c99ad1d9e51972a9 |
|
MD5 | 7312d67636efb77bcf7bef666cdfd2ea |
|
BLAKE2b-256 | 521948ec091efe86f9053384caa1373f762e0ff9b8c39d7d525fcfbad0e46923 |