From 5d3596fa2be7f2b268939a3f4d4744810aaf29a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20W=C3=B6rtwein?= Date: Thu, 10 Jun 2021 21:02:53 -0400 Subject: [PATCH] TYP/BUG: fix CI --- pandas/io/formats/csvs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandas/io/formats/csvs.py b/pandas/io/formats/csvs.py index e9af2f6676092..f078975e4b85a 100644 --- a/pandas/io/formats/csvs.py +++ b/pandas/io/formats/csvs.py @@ -9,7 +9,6 @@ from typing import ( TYPE_CHECKING, Any, - AnyStr, Hashable, Iterator, Sequence, @@ -49,7 +48,7 @@ class CSVFormatter: def __init__( self, formatter: DataFrameFormatter, - path_or_buf: FilePathOrBuffer[AnyStr] = "", + path_or_buf: FilePathOrBuffer[str] | FilePathOrBuffer[bytes] = "", sep: str = ",", cols: Sequence[Hashable] | None = None, index_label: IndexLabel | None = None,