mirror of
				https://github.com/python/cpython.git
				synced 2025-10-25 18:54:53 +00:00 
			
		
		
		
	#11926: merge with 3.1.
This commit is contained in:
		
						commit
						44aad855dd
					
				
					 3 changed files with 23 additions and 10 deletions
				
			
		|  | @ -3,6 +3,7 @@ | |||
| import difflib | ||||
| import inspect | ||||
| import pydoc | ||||
| import keyword | ||||
| import re | ||||
| import string | ||||
| import subprocess | ||||
|  | @ -465,11 +466,17 @@ def test_url_requests(self): | |||
|         self.assertEqual(result, title) | ||||
| 
 | ||||
| 
 | ||||
| class TestHelper(unittest.TestCase): | ||||
|     def test_keywords(self): | ||||
|         self.assertEqual(sorted(pydoc.Helper.keywords), | ||||
|                          sorted(keyword.kwlist)) | ||||
| 
 | ||||
| def test_main(): | ||||
|     test.support.run_unittest(PydocDocTest, | ||||
|                               TestDescriptions, | ||||
|                               PydocServerTest, | ||||
|                               PydocUrlHandlerTest, | ||||
|                               TestHelper, | ||||
|                               ) | ||||
| 
 | ||||
| if __name__ == "__main__": | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ezio Melotti
						Ezio Melotti