| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
And you fixed 2 more tests by this change!
UNEXPECTED SUCCESS: test__getitem___deprecation (test.test_fileinput.FileInputTests.test__getitem___deprecation) UNEXPECTED SUCCESS: test_gz_ext_fake (test.test_fileinput.Test_hook_compressed.test_gz_ext_fake)
Please remove unittest.expectedFailure from those tests
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for contributing!
Sorry, something went wrong.
I also changed the type from u8 to bool. No difference functionality-wise.
| None => { | ||
| // TODO: try os.device_encoding(fileno) and then locale.getpreferredencoding() | ||
| PyStr::from(crate::codecs::DEFAULT_ENCODING).into_ref(&vm.ctx) | ||
| None if vm.state.settings.utf8_mode == 1 => PyStr::from("utf-8").into_ref(&vm.ctx), |
There was a problem hiding this comment.
| None if vm.state.settings.utf8_mode == 1 => PyStr::from("utf-8").into_ref(&vm.ctx), | |
| None if vm.state.settings.utf8_mode > 0 => PyStr::from("utf-8").into_ref(&vm.ctx), |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
fix #4662