Hugo van Kemenade
2021-11-23 15:45:46 +02:00
committed by Pablo Santiago Blum de Aguiar
parent 1a242c7daa
commit 5f562a185c
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class TestGetValidHistoryWithoutCurrent(object):
def history(self, mocker):
mock = mocker.patch('thefuck.shells.shell.get_history')
# Passing as an argument causes `UnicodeDecodeError`
# with newer py.test and python 2.7
# with newer pytest and python 2.7
mock.return_value = ['le cat', 'fuck', 'ls cat',
'diff x', 'nocommand x', u'café ô']
return mock