Skip to content

Commit

Permalink
Revert "remove custom encoding warning after python 3.10+"
Browse files Browse the repository at this point in the history
This reverts commit cb6b560.
  • Loading branch information
DanielYang59 committed Jan 10, 2025
1 parent f805352 commit b301b1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/monty/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
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 b301b1f

Please sign in to comment.