diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2019-03-22 22:23:41 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-22 22:23:41 (GMT) |
| commit | c1419578a18d787393c7ccee149e7c1fff17a99e (patch) | |
| tree | 397ee6aabc58afb07ef4893676ba569f05cf7d3c /Lib/idlelib/idle_test/test_config.py | |
| parent | 5086589305ff5538709856b27314b68f06ae93db (diff) | |
| download | cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.zip cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.tar.gz cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.tar.bz2 | |
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 169d054..7e2c1fd 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', |
