Skip to content

Commit 6f1f439

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

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:EncodingWarning:pyfakefs.fake_file
40+
ignore:'encoding' argument not specified:EncodingWarning:pyfakefs.helpers

0 commit comments

Comments
 (0)