8000
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 beb7064 commit f348007Copy full SHA for f348007
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