summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com>2018-06-20 07:42:13 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2018-06-20 07:42:13 (GMT)
commit9bb92235f6272b28d59fcbd04f101fdc6b1bbc50 (patch)
tree4083bea750ae634e9c3093c2f5d0f00632a4ddf2 /Lib/idlelib/idle_test
parent9af1836664d241fec6e62955ffaa559b3a2eaf1b (diff)
downloadcpython-9bb92235f6272b28d59fcbd04f101fdc6b1bbc50.zip
cpython-9bb92235f6272b28d59fcbd04f101fdc6b1bbc50.tar.gz
cpython-9bb92235f6272b28d59fcbd04f101fdc6b1bbc50.tar.bz2
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.py4
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 9ef1320..2bc7c6f 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"