mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Py3 fixes for test scripts
							parent
							
								
									42a9a7a573
								
							
						
					
					
						commit
						842d145d91
					
				| 
						 | 
				
			
			@ -40,7 +40,7 @@ class RtcResetTest(BaseHostTest):
 | 
			
		|||
        """Register callbacks required for the test"""
 | 
			
		||||
        self._error = False
 | 
			
		||||
        generator = self.rtc_reset_test()
 | 
			
		||||
        generator.next()
 | 
			
		||||
        next(generator)
 | 
			
		||||
 | 
			
		||||
        def run_gen(key, value, time):
 | 
			
		||||
            """Run the generator, and fail testing if the iterator stops"""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,7 @@ class UnexpectedResetTest(BaseHostTest):
 | 
			
		|||
        """Register callbacks required for the test"""
 | 
			
		||||
        self._error = False
 | 
			
		||||
        generator = self.unexpected_reset_test()
 | 
			
		||||
        generator.next()
 | 
			
		||||
        next(generator)
 | 
			
		||||
 | 
			
		||||
        def run_gen(key, value, time):
 | 
			
		||||
            """Run the generator, and fail testing if the iterator stops"""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue