33import numpy as np
44import pytest
55
6+ import pandas .util ._test_decorators as td
7+
68import pandas as pd
79import pandas ._testing as tm
810
911pyreadstat = pytest .importorskip ("pyreadstat" )
1012
1113
14+ @td .skip_copy_on_write_not_yet_implemented
1215@pytest .mark .parametrize ("path_klass" , [lambda p : p , Path ])
1316def test_spss_labelled_num (path_klass , datapath ):
1417 # test file from the Haven project (https://haven.tidyverse.org/)
@@ -24,6 +27,7 @@ def test_spss_labelled_num(path_klass, datapath):
2427 tm .assert_frame_equal (df , expected )
2528
2629
30+ @td .skip_copy_on_write_not_yet_implemented
2731def test_spss_labelled_num_na (datapath ):
2832 # test file from the Haven project (https://haven.tidyverse.org/)
2933 fname = datapath ("io" , "data" , "spss" , "labelled-num-na.sav" )
@@ -38,6 +42,7 @@ def test_spss_labelled_num_na(datapath):
3842 tm .assert_frame_equal (df , expected )
3943
4044
45+ @td .skip_copy_on_write_not_yet_implemented
4146def test_spss_labelled_str (datapath ):
4247 # test file from the Haven project (https://haven.tidyverse.org/)
4348 fname = datapath ("io" , "data" , "spss" , "labelled-str.sav" )
@@ -52,6 +57,7 @@ def test_spss_labelled_str(datapath):
5257 tm .assert_frame_equal (df , expected )
5358
5459
60+ @td .skip_copy_on_write_not_yet_implemented
5561def test_spss_umlauts (datapath ):
5662 # test file from the Haven project (https://haven.tidyverse.org/)
5763 fname = datapath ("io" , "data" , "spss" , "umlauts.sav" )
0 commit comments