Skip to content

Commit 196385d

Browse files
committed
Add failing test
1 parent fbde2a0 commit 196385d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

tests/integration/test_io.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import os.path
2+
3+
import scmdata
4+
import scmdata.testing
5+
6+
7+
def test_read_write_circularity(test_scm_df_monthly, tmpdir):
8+
tempfile = os.path.join(tmpdir, "test.csv")
9+
10+
test_scm_df_monthly.to_csv(tempfile)
11+
12+
read = scmdata.ScmRun(tempfile)
13+
14+
scmdata.testing.assert_scmdf_almost_equal(read, test_scm_df_monthly)

0 commit comments

Comments
 (0)