FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.9] bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694) by tirkarthi · Pull Request #21697 · python/cpython · GitHub

/ cpython Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 4 additions & 1 deletion Lib/test/test_lib2to3.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from lib2to3.tests import load_tests
import unittest
from test.support import check_warnings

with check_warnings(("", PendingDeprecationWarning)):
from lib2to3.tests import load_tests

if __name__ == '__main__':
unittest.main()

Back | FazBrowse Home | New Git URL