mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 14:44:05 +00:00 
			
		
		
		
	#394: Try simpler solution to limit lines count
This commit is contained in:
		| @@ -18,7 +18,7 @@ def history_lines(mocker): | ||||
|     def aux(lines): | ||||
|         mock = mocker.patch('io.open') | ||||
|         mock.return_value.__enter__\ | ||||
|             .return_value.__iter__.return_value = lines | ||||
|             .return_value.readlines.return_value = lines | ||||
|     return aux | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user