@@ -88,8 +88,6 @@ def check_round_trip_frame(self, data, excel=None, sep=None,
8888 tm .assert_frame_equal (data , result , check_dtype = False )
8989
9090 # Test that default arguments copy as tab delimited 
91-  @pytest .mark .xfail (reason = 'to_clipboard defaults to space delim. '  
92-  'Issue in #21104, Fixed in #21111' ) 
9391 def  test_round_trip_frame (self , df ):
9492 self .check_round_trip_frame (df )
9593
@@ -99,10 +97,6 @@ def test_round_trip_frame_sep(self, df, sep):
9997 self .check_round_trip_frame (df , sep = sep )
10098
10199 # Test white space separator 
102-  @pytest .mark .xfail (reason = "Fails on 'delims' df because quote escapes "  
103-  "aren't handled correctly in default c engine. Fixed "  
104-  "in #21111 by defaulting to python engine for "  
105-  "whitespace separator" ) 
106100 def  test_round_trip_frame_string (self , df ):
107101 df .to_clipboard (excel = False , sep = None )
108102 result  =  read_clipboard ()
@@ -111,21 +105,17 @@ def test_round_trip_frame_string(self, df):
111105
112106 # Two character separator is not supported in to_clipboard 
113107 # Test that multi-character separators are not silently passed 
114-  @pytest .mark .xfail (reason = "Not yet implemented. Fixed in #21111" ) 
115108 def  test_excel_sep_warning (self , df ):
116109 with  tm .assert_produces_warning ():
117110 df .to_clipboard (excel = True , sep = r'\t' )
118111
119112 # Separator is ignored when excel=False and should produce a warning 
120-  @pytest .mark .xfail (reason = "Not yet implemented. Fixed in #21111" ) 
121113 def  test_copy_delim_warning (self , df ):
122114 with  tm .assert_produces_warning ():
123115 df .to_clipboard (excel = False , sep = '\t ' )
124116
125117 # Tests that the default behavior of to_clipboard is tab 
126118 # delimited and excel="True" 
127-  @pytest .mark .xfail (reason = "to_clipboard defaults to space delim. Issue in "  
128-  "#21104, Fixed in #21111" ) 
129119 @pytest .mark .parametrize ('sep' , ['\t ' , None , 'default' ]) 
130120 @pytest .mark .parametrize ('excel' , [True , None , 'default' ]) 
131121 def  test_clipboard_copy_tabs_default (self , sep , excel , df ):
@@ -139,10 +129,6 @@ def test_clipboard_copy_tabs_default(self, sep, excel, df):
139129 assert  clipboard_get () ==  df .to_csv (sep = '\t ' )
140130
141131 # Tests reading of white space separated tables 
142-  @pytest .mark .xfail (reason = "Fails on 'delims' df because quote escapes "  
143-  "aren't handled correctly. in default c engine. Fixed "  
144-  "in #21111 by defaulting to python engine for "  
145-  "whitespace separator" ) 
146132 @pytest .mark .parametrize ('sep' , [None , 'default' ]) 
147133 @pytest .mark .parametrize ('excel' , [False ]) 
148134 def  test_clipboard_copy_strings (self , sep , excel , df ):
@@ -193,8 +179,6 @@ def test_invalid_encoding(self, df):
193179 with  pytest .raises (NotImplementedError ):
194180 pd .read_clipboard (encoding = 'ascii' )
195181
196-  @pytest .mark .xfail (reason = 'to_clipboard defaults to space delim. '  
197-  'Issue in #21104, Fixed in #21111' ) 
198182 @pytest .mark .parametrize ('enc' , ['UTF-8' , 'utf-8' , 'utf8' ]) 
199183 def  test_round_trip_valid_encodings (self , enc , df ):
200184 self .check_round_trip_frame (df , encoding = enc )
0 commit comments