gh-93096: Remove python -m codecs
(gh-94233)
This commit is contained in:
parent
ec5e253556
commit
1bc8a38d8b
@ -1114,13 +1114,3 @@ except LookupError:
|
|||||||
_false = 0
|
_false = 0
|
||||||
if _false:
|
if _false:
|
||||||
import encodings
|
import encodings
|
||||||
|
|
||||||
### Tests
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
|
|
||||||
# Make stdout translate Latin-1 output into UTF-8 output
|
|
||||||
sys.stdout = EncodedFile(sys.stdout, 'latin-1', 'utf-8')
|
|
||||||
|
|
||||||
# Have stdin translate Latin-1 input into UTF-8 input
|
|
||||||
sys.stdin = EncodedFile(sys.stdin, 'utf-8', 'latin-1')
|
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
Removed undocumented ``python -m codecs``. Use ``python -m unittest
|
||||||
|
test.test_codecs.EncodedFileTest`` instead.
|
Loading…
x
Reference in New Issue
Block a user