Skip to content

Commit 9508489

Browse files
committed
Suppress EncodingWarnings in pyfakefs. Ref #232. Workaround for pytest-dev/pyfakefs#957.
1 parent 2b93ccc commit 9508489

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pytest.ini

+4
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ filterwarnings=
3434

3535
# suppress well know deprecation warning
3636
ignore:distutils.log.Log is deprecated
37+
38+
# pytest-dev/pyfakefs#957
39+
ignore:UTF-8 Mode affects locale.getpreferredencoding::pyfakefs.fake_file
40+
ignore:'encoding' argument not specified::pyfakefs.helpers

0 commit comments

Comments
 (0)