1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-22 12:58:33 +00:00
thefuck/thefuck/rules/test.py.py
2015-06-26 14:05:18 +02:00

11 lines
229 B
Python

def match(command, settings):
return command.script == 'test.py' and 'not found' in command.stderr
def get_new_command(command, settings):
return 'py.test'
# make it come before the python_command rule
priority = 900