diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2017-09-16 05:42:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-16 05:42:28 (GMT) |
commit | 5777ecc438790f3d324d52f2ccdad56e667e0cb3 (patch) | |
tree | c7e9e888307837940098267e310f5e171f7c9cd2 /Lib/idlelib/idle_test | |
parent | 3f9eee6eb4b25fe1926eaa5f00e02344b126f54d (diff) | |
download | cpython-5777ecc438790f3d324d52f2ccdad56e667e0cb3.zip cpython-5777ecc438790f3d324d52f2ccdad56e667e0cb3.tar.gz cpython-5777ecc438790f3d324d52f2ccdad56e667e0cb3.tar.bz2 |
bpo-31488: IDLE - update former extensions when options change. (#3612)
When apply changes, call .reload on each class with non-key options.
Change ParenMatch so that updates affect current instances.
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r-- | Lib/idlelib/idle_test/test_parenmatch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_parenmatch.py b/Lib/idlelib/idle_test/test_parenmatch.py index 6943a70..3caa275 100644 --- a/Lib/idlelib/idle_test/test_parenmatch.py +++ b/Lib/idlelib/idle_test/test_parenmatch.py @@ -58,7 +58,7 @@ class ParenMatchTest(unittest.TestCase): ('expression', ('1.10', '1.15'), ('1.10', '1.16'))): with self.subTest(style=style): text.delete('1.0', 'end') - pm.set_style(style) + pm.STYLE = style text.insert('insert', 'def foobar(a, b') pm.flash_paren_event('event') |