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 6823212 commit af168dfCopy full SHA for af168df
1 file changed
Lib/test/test_codecs.py
@@ -3590,9 +3590,10 @@ class Rot13UtilTest(unittest.TestCase):
3590
$ echo "Hello World" | python -m encodings.rot_13
3591
"""
3592
def test_rot13_func(self):
3593
+ from encodings.rot_13 import rot13
3594
infile = io.StringIO('Gb or, be abg gb or, gung vf gur dhrfgvba')
3595
outfile = io.StringIO()
- encodings.rot_13.rot13(infile, outfile)
3596
+ rot13(infile, outfile)
3597
outfile.seek(0)
3598
plain_text = outfile.read()
3599
self.assertEqual(
0 commit comments