diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-11-09 13:52:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 13:52:32 (GMT) |
commit | cc18b886a51672c59622837a2b8e83bf6be28c58 (patch) | |
tree | 52b505ee330eb77accd8ca87bbbe82c8505539d8 /Lib/idlelib | |
parent | 34a03e951b027902d993c7066ba8e6b7e92cb2a9 (diff) | |
download | cpython-cc18b886a51672c59622837a2b8e83bf6be28c58.zip cpython-cc18b886a51672c59622837a2b8e83bf6be28c58.tar.gz cpython-cc18b886a51672c59622837a2b8e83bf6be28c58.tar.bz2 |
gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879)
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/idle_test/test_config.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_config.py b/Lib/idlelib/idle_test/test_config.py index a746f15..6d75cf7 100644 --- a/Lib/idlelib/idle_test/test_config.py +++ b/Lib/idlelib/idle_test/test_config.py @@ -85,8 +85,8 @@ class IdleConfParserTest(unittest.TestCase): self.assertEqual(parser.sections(), []) def test_load_file(self): - # Borrow test/cfgparser.1 from test_configparser. - config_path = findfile('cfgparser.1') + # Borrow test/configdata/cfgparser.1 from test_configparser. + config_path = findfile('cfgparser.1', subdir='configdata') parser = config.IdleConfParser(config_path) parser.Load() @@ -294,8 +294,8 @@ class IdleConfTest(unittest.TestCase): def test_load_cfg_files(self): conf = self.new_config(_utest=True) - # Borrow test/cfgparser.1 from test_configparser. - config_path = findfile('cfgparser.1') + # Borrow test/configdata/cfgparser.1 from test_configparser. + config_path = findfile('cfgparser.1', subdir='configdata') conf.defaultCfg['foo'] = config.IdleConfParser(config_path) conf.userCfg['foo'] = config.IdleUserConfParser(config_path) |