diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2019-03-22 18:23:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-22 18:23:41 -0400 |
commit | c1419578a18d787393c7ccee149e7c1fff17a99e (patch) | |
tree | 397ee6aabc58afb07ef4893676ba569f05cf7d3c /Lib/idlelib/idle_test/test_config.py | |
parent | bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found (... (diff) | |
download | cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.tar.gz cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.tar.bz2 cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.zip |
bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)
This param was only used once and changed the return type.
Diffstat (limited to 'Lib/idlelib/idle_test/test_config.py')
-rw-r--r-- | Lib/idlelib/idle_test/test_config.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_config.py b/Lib/idlelib/idle_test/test_config.py index 169d054efd0..7e2c1fd2958 100644 --- a/Lib/idlelib/idle_test/test_config.py +++ b/Lib/idlelib/idle_test/test_config.py @@ -373,10 +373,6 @@ class IdleConfTest(unittest.TestCase): eq = self.assertEqual eq(conf.GetHighlight('IDLE Classic', 'normal'), {'foreground': '#000000', 'background': '#ffffff'}) - eq(conf.GetHighlight('IDLE Classic', 'normal', 'fg'), '#000000') - eq(conf.GetHighlight('IDLE Classic', 'normal', 'bg'), '#ffffff') - with self.assertRaises(config.InvalidFgBg): - conf.GetHighlight('IDLE Classic', 'normal', 'fb') # Test cursor (this background should be normal-background) eq(conf.GetHighlight('IDLE Classic', 'cursor'), {'foreground': 'black', |