Skip to content

Commit e55db21

Browse files
kinowBruno P. Kinoshita
authored and
Bruno P. Kinoshita
committed
Remove unused capsys variable in test method
1 parent ebafb75 commit e55db21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/formats/test_to_csv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def test_to_csv_compression(self, compression_only, read_infer, to_infer):
518518
result = pd.read_csv(path, index_col=0, compression=read_compression)
519519
tm.assert_frame_equal(result, df)
520520

521-
def test_to_csv_na_rep_long_string(self, capsys):
521+
def test_to_csv_na_rep_long_string(self):
522522
# see gh-25099
523523
df = pd.DataFrame({"c": [float('nan')] * 3})
524524
df = df.astype("Int64")

0 commit comments

Comments
 (0)