mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Add a test case of data w/ bytes > 127
This commit is contained in:
		
							parent
							
								
									cffcc8b195
								
							
						
					
					
						commit
						9eec51c04f
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -40,6 +40,9 @@ def test_case_3(self):
 | 
				
			||||||
        self.check("a" * 1000000,
 | 
					        self.check("a" * 1000000,
 | 
				
			||||||
                   "34aa973cd4c4daa4f61eeb2bdbad27316534016f")
 | 
					                   "34aa973cd4c4daa4f61eeb2bdbad27316534016f")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def test_case_4(self):
 | 
				
			||||||
 | 
					        self.check(chr(0xAA) * 80,
 | 
				
			||||||
 | 
					                   '4ca0ef38f1794b28a8f8ee110ee79d48ce13be25')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def test_main():
 | 
					def test_main():
 | 
				
			||||||
    test_support.run_unittest(SHATestCase)
 | 
					    test_support.run_unittest(SHATestCase)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue