Kaydet (Commit) 9ba8d6bf authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Make all idle test case names end with 'Test'.

üst aea6c115
...@@ -2,7 +2,7 @@ import unittest ...@@ -2,7 +2,7 @@ import unittest
import idlelib.CallTips as ct import idlelib.CallTips as ct
CTi = ct.CallTips() CTi = ct.CallTips()
class Test_get_entity(unittest.TestCase): class Get_entityTest(unittest.TestCase):
# In 3.x, get_entity changed from 'instance method' to module function # In 3.x, get_entity changed from 'instance method' to module function
# since 'self' not used. Use dummy instance until change 2.7 also. # since 'self' not used. Use dummy instance until change 2.7 also.
def test_bad_entity(self): def test_bad_entity(self):
......
...@@ -22,7 +22,7 @@ class Dummy_name_dialog(object): ...@@ -22,7 +22,7 @@ class Dummy_name_dialog(object):
orig_mbox = name_dialog_module.tkMessageBox orig_mbox = name_dialog_module.tkMessageBox
showerror = Mbox.showerror showerror = Mbox.showerror
class TestConfigName(unittest.TestCase): class ConfigNameTest(unittest.TestCase):
dialog = Dummy_name_dialog() dialog = Dummy_name_dialog()
@classmethod @classmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment