extra formatter for snapshottest
Project description
snapshottest_ext
extra formatter for snapshottest
Usage
# use with pytest
import pandas as pd
from 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.6.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for snapshottest_ext-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d231f91d401cdd2a0e39c7dcd5deb0e0f6d43ceccd0ff2cb4af619803c89f0a7 |
|
MD5 | 62abcfcc8b175e4512f8869f99ea859a |
|
BLAKE2b-256 | 7740a48a8c24dce96968ba85ccb968106aa4f260e6685bf1661ef2753d93da12 |