Skip to content

Commit

Permalink
Update Lib/test/test_argparse.py
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka authored Oct 11, 2024
1 parent 6c9660f commit 8e8e2ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/test/test_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,6 @@ def FileType(*args, **kwargs):
class TestFileTypeDeprecation(TestCase):

def test(self):
parser = argparse.ArgumentParser()
with self.assertWarns(PendingDeprecationWarning) as cm:
argparse.FileType()
self.assertIn('FileType is deprecated', str(cm.warning))
Expand Down

0 comments on commit 8e8e2ec

Please sign in to comment.