bpo-35598: IDLE: Increase test coverage for config_key.py (GH-11360)

(cherry picked from commit b0a6196ffd58ff91462191f426706897dc920eee)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
3 files changed