Skip to content

Commit

Permalink
remove custom encoding warning after python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Dec 20, 2024
1 parent 26acf0b commit cb6b560
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/monty/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
/,
Expand Down

0 comments on commit cb6b560

Please sign in to comment.