We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbde2a0 commit 196385dCopy full SHA for 196385d
1 file changed
tests/integration/test_io.py
@@ -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