mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	Fix tests in python 2
This commit is contained in:
		| @@ -20,13 +20,13 @@ def with_confirmation(proc): | ||||
| def history_changed(proc): | ||||
|     """Ensures that history changed.""" | ||||
|     proc.send('\033[A') | ||||
|     assert proc.expect([TIMEOUT, 'echo test']) | ||||
|     assert proc.expect([TIMEOUT, u'echo test']) | ||||
|  | ||||
|  | ||||
| def history_not_changed(proc): | ||||
|     """Ensures that history not changed.""" | ||||
|     proc.send('\033[A') | ||||
|     assert proc.expect([TIMEOUT, 'fuck']) | ||||
|     assert proc.expect([TIMEOUT, u'fuck']) | ||||
|  | ||||
|  | ||||
| def refuse_with_confirmation(proc): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user