diff options
| author | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com> | 2018-06-20 13:12:13 +0530 |
|---|---|---|
| committer | Terry Jan Reedy <tjreedy@udel.edu> | 2018-06-20 03:42:13 -0400 |
| commit | 9bb92235f6272b28d59fcbd04f101fdc6b1bbc50 (patch) | |
| tree | 4083bea750ae634e9c3093c2f5d0f00632a4ddf2 /Lib/idlelib/idle_test | |
| parent | 9af1836664d241fec6e62955ffaa559b3a2eaf1b (diff) | |
| download | cpython-git-9bb92235f6272b28d59fcbd04f101fdc6b1bbc50.tar.gz | |
bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811)
Diffstat (limited to 'Lib/idlelib/idle_test')
| -rw-r--r-- | Lib/idlelib/idle_test/test_rstrip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_rstrip.py b/Lib/idlelib/idle_test/test_rstrip.py index 9ef1320eef..2bc7c6f035 100644 --- a/Lib/idlelib/idle_test/test_rstrip.py +++ b/Lib/idlelib/idle_test/test_rstrip.py @@ -9,7 +9,7 @@ class rstripTest(unittest.TestCase): def test_rstrip_line(self): editor = Editor() text = editor.text - do_rstrip = rstrip.RstripExtension(editor).do_rstrip + do_rstrip = rstrip.Rstrip(editor).do_rstrip do_rstrip() self.assertEqual(text.get('1.0', 'insert'), '') @@ -27,7 +27,7 @@ class rstripTest(unittest.TestCase): #from tkinter import Tk #editor = Editor(root=Tk()) text = editor.text - do_rstrip = rstrip.RstripExtension(editor).do_rstrip + do_rstrip = rstrip.Rstrip(editor).do_rstrip original = ( "Line with an ending tab \n" |
