Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								da122b5fac 
								
							 
						 
						
							
							
								
								gh-71339: Improve error report for types in assertHasAttr() and assertNotHasAttr() (GH-128818)  
							
							
							
						 
						
							2025-01-20 11:17:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								06cad77a5b 
								
							 
						 
						
							
							
								
								gh-71339: Add additional assertion methods for unittest (GH-128707)  
							
							... 
							
							
							
							Add the following methods:
* assertHasAttr() and assertNotHasAttr()
* assertIsSubclass() and assertNotIsSubclass()
* assertStartsWith() and assertNotStartsWith()
* assertEndsWith() and assertNotEndsWith()
Also improve error messages for assertIsInstance() and
assertNotIsInstance(). 
							
						 
						
							2025-01-14 10:02:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cb72feb8a3 
								
							 
						 
						
							
							
								
								gh-128729: Fix RuntimeWarning in test_unittest (GH-128730)  
							
							
							
						 
						
							2025-01-12 12:22:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nikita Sobolev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								42ebdd83bb 
								
							 
						 
						
							
							
								
								gh-120544: Add else: fail() to tests where exception is expected ( #120545 )  
							
							
							
						 
						
							2024-06-15 10:33:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nikita Sobolev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fabcf6bc8f 
								
							 
						 
						
							
							
								
								gh-120388: Improve deprecation warning message, when test returns non-None ( #120401 )  
							
							... 
							
							
							
							Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 
							
						 
						
							2024-06-12 14:50:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael Blahay 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								46361bb843 
								
							 
						 
						
							
							
								
								gh-68968: Correcting message display issue with assertEqual ( #103937 )  
							
							
							
						 
						
							2023-05-04 16:37:17 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								52bc2e7b9d 
								
							 
						 
						
							
							
								
								gh-48330: assert warning is emitted on unittest.TestResult with no addDuration ( #103309 )  
							
							
							
						 
						
							2023-04-06 14:05:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nikita Sobolev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c3648f4e4a 
								
							 
						 
						
							
							
								
								gh-97837: Change deprecation warning message in unittest ( #97838 )  
							
							
							
						 
						
							2022-10-04 17:29:18 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c834c02569 
								
							 
						 
						
							
							
								
								Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556)  
							
							... 
							
							
							
							This reverts commit b50322d203 
							
						 
						
							2022-06-26 10:18:06 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c735d54534 
								
							 
						 
						
							
							
								
								gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ ( #94043 )  
							
							... 
							
							
							
							* Move Lib/unittest/test/ to Lib/test/test_unittest/
* Remove Lib/test/test_unittest.py
* Replace unittest.test with test.test_unittest
* Remove unittest.load_tests()
* Rewrite unittest __init__.py and __main__.py
* Update build system, CODEOWNERS, and wasm_assets.py 
							
						 
						
							2022-06-21 10:27:59 +02:00