From cb6b56040dfc0fcbdacc41d886037868924f80ec Mon Sep 17 00:00:00 2001 From: "Haoyu (Daniel)" Date: Fri, 20 Dec 2024 10:36:26 +0800 Subject: [PATCH] remove custom encoding warning after python 3.10+ --- src/monty/io.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/monty/io.py b/src/monty/io.py index ccd24189e..17021fcaf 100644 --- a/src/monty/io.py +++ b/src/monty/io.py @@ -22,9 +22,6 @@ from typing import IO, Any, Iterator, Union -class EncodingWarning(Warning): ... # Added in Python 3.10 - - def zopen( filename: Union[str, Path], /,