diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-11-09 14:41:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 14:41:44 (GMT) |
commit | e11ea5a400ba1d52e948d50925f52ed664fd74b8 (patch) | |
tree | 13e3c41d49e33c86d437e133d30ede1d84680288 /Lib/idlelib | |
parent | 4f976c3b9a6b3606c12924a1adadd12f9d5f0388 (diff) | |
download | cpython-e11ea5a400ba1d52e948d50925f52ed664fd74b8.zip cpython-e11ea5a400ba1d52e948d50925f52ed664fd74b8.tar.gz cpython-e11ea5a400ba1d52e948d50925f52ed664fd74b8.tar.bz2 |
[3.12] gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879) (gh-111882)
gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879)
(cherry picked from commit cc18b886a51672c59622837a2b8e83bf6be28c58)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
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) |