summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2019-07-16 20:58:25 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-16 20:58:25 (GMT)
commitf8d4cc7dbbf54b9c5435c3080582a4aa421a067d (patch)
tree05eee5cc0b10e339d602250362c7786147a91fff /Lib/idlelib/idle_test
parentf69d5c61981ea97d251db515c7ff280fcc17182d (diff)
downloadcpython-f8d4cc7dbbf54b9c5435c3080582a4aa421a067d.zip
cpython-f8d4cc7dbbf54b9c5435c3080582a4aa421a067d.tar.gz
cpython-f8d4cc7dbbf54b9c5435c3080582a4aa421a067d.tar.bz2
bpo-27452: IDLE: Cleanup config.py code (GH-14577)
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r--Lib/idlelib/idle_test/test_config.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/Lib/idlelib/idle_test/test_config.py b/Lib/idlelib/idle_test/test_config.py
index 255210d..492f2f6 100644
--- a/Lib/idlelib/idle_test/test_config.py
+++ b/Lib/idlelib/idle_test/test_config.py
@@ -159,19 +159,6 @@ class IdleUserConfParserTest(unittest.TestCase):
self.assertFalse(parser.IsEmpty())
self.assertCountEqual(parser.sections(), ['Foo'])
- def test_remove_file(self):
- with tempfile.TemporaryDirectory() as tdir:
- path = os.path.join(tdir, 'test.cfg')
- parser = self.new_parser(path)
- parser.RemoveFile() # Should not raise exception.
-
- parser.AddSection('Foo')
- parser.SetOption('Foo', 'bar', 'true')
- parser.Save()
- self.assertTrue(os.path.exists(path))
- parser.RemoveFile()
- self.assertFalse(os.path.exists(path))
-
def test_save(self):
with tempfile.TemporaryDirectory() as tdir:
path = os.path.join(tdir, 'test.cfg')