3
3
import numpy as np
4
4
import pytest
5
5
6
+ import pandas .util ._test_decorators as td
7
+
6
8
import pandas as pd
7
9
import pandas ._testing as tm
8
10
9
11
pyreadstat = pytest .importorskip ("pyreadstat" )
10
12
11
13
14
+ @td .skip_copy_on_write_not_yet_implemented
12
15
@pytest .mark .parametrize ("path_klass" , [lambda p : p , Path ])
13
16
def test_spss_labelled_num (path_klass , datapath ):
14
17
# test file from the Haven project (https://haven.tidyverse.org/)
@@ -24,6 +27,7 @@ def test_spss_labelled_num(path_klass, datapath):
24
27
tm .assert_frame_equal (df , expected )
25
28
26
29
30
+ @td .skip_copy_on_write_not_yet_implemented
27
31
def test_spss_labelled_num_na (datapath ):
28
32
# test file from the Haven project (https://haven.tidyverse.org/)
29
33
fname = datapath ("io" , "data" , "spss" , "labelled-num-na.sav" )
@@ -38,6 +42,7 @@ def test_spss_labelled_num_na(datapath):
38
42
tm .assert_frame_equal (df , expected )
39
43
40
44
45
+ @td .skip_copy_on_write_not_yet_implemented
41
46
def test_spss_labelled_str (datapath ):
42
47
# test file from the Haven project (https://haven.tidyverse.org/)
43
48
fname = datapath ("io" , "data" , "spss" , "labelled-str.sav" )
@@ -52,6 +57,7 @@ def test_spss_labelled_str(datapath):
52
57
tm .assert_frame_equal (df , expected )
53
58
54
59
60
+ @td .skip_copy_on_write_not_yet_implemented
55
61
def test_spss_umlauts (datapath ):
56
62
# test file from the Haven project (https://haven.tidyverse.org/)
57
63
fname = datapath ("io" , "data" , "spss" , "umlauts.sav" )
0 commit comments