summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-11-09 13:52:32 (GMT)
committerGitHub <noreply@github.com>2023-11-09 13:52:32 (GMT)
commitcc18b886a51672c59622837a2b8e83bf6be28c58 (patch)
tree52b505ee330eb77accd8ca87bbbe82c8505539d8 /Lib/idlelib
parent34a03e951b027902d993c7066ba8e6b7e92cb2a9 (diff)
downloadcpython-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.py8
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)