summaryrefslogtreecommitdiff
path: root/Lib/unittest/test
diff options
context:
space:
mode:
authorFurkan Önder <furkantahaonder@gmail.com>2020-05-01 15:49:35 +0300
committerGitHub <noreply@github.com>2020-05-01 05:49:35 -0700
commit719e14d2837520c18398a3e22a36f20c1fe76edf (patch)
tree81e6e4b774b4fa828b9429c06d033dee74ec0ac2 /Lib/unittest/test
parent8727664557cd44dcd00612ccba816942e8f885ab (diff)
downloadcpython-git-719e14d2837520c18398a3e22a36f20c1fe76edf.tar.gz
bpo-40462: fix variable and function names (GH-19832)
Automerge-Triggered-By: @vstinner
Diffstat (limited to 'Lib/unittest/test')
-rw-r--r--Lib/unittest/test/test_program.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/unittest/test/test_program.py b/Lib/unittest/test/test_program.py
index 4a62ae1b11..eef82ff937 100644
--- a/Lib/unittest/test/test_program.py
+++ b/Lib/unittest/test/test_program.py
@@ -188,8 +188,6 @@ class TestCommandLineArgs(unittest.TestCase):
program = self.program
for arg, attr in (('buffer', 'buffer'), ('failfast', 'failfast'),
('catch', 'catchbreak')):
- if attr == 'catch' and not hasInstallHandler:
- continue
setattr(program, attr, None)
program.parseArgs([None])