Skip to content

Commit d54bde4

Browse files
committed
drop custom encoding warning as min python bump to 3.10
1 parent da8be8e commit d54bde4

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/monty/io.py

-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
from typing import IO, Any, Iterator, Union
2323

2424

25-
class EncodingWarning(Warning): ... # Added in Python 3.10
26-
27-
2825
def zopen(
2926
filename: Union[str, Path],
3027
/,

tests/test_io.py

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import pytest
1010

1111
from monty.io import (
12-
EncodingWarning,
1312
FileLock,
1413
FileLockException,
1514
_get_line_ending,

0 commit comments

Comments
 (0)