Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aad4fc commit b987fdbCopy full SHA for b987fdb
1 file changed
Lib/test/test_codecs.py
@@ -3637,9 +3637,10 @@ class Rot13UtilTest(unittest.TestCase):
3637
$ echo "Hello World" | python -m encodings.rot_13
3638
"""
3639
def test_rot13_func(self):
3640
+ from encodings.rot_13 import rot13
3641
infile = io.StringIO('Gb or, be abg gb or, gung vf gur dhrfgvba')
3642
outfile = io.StringIO()
- encodings.rot_13.rot13(infile, outfile)
3643
+ rot13(infile, outfile)
3644
outfile.seek(0)
3645
plain_text = outfile.read()
3646
self.assertEqual(
0 commit comments