if re.search("[/] [*]", problem):
return ("Error: Operators must be '+' or '-'.")
First, you have a typo in the return statement.
Second, "[/] [*]" is not doing what you think it is doing. You need to make a slight modification to your regular expression. The above expression searches for the case where / is immediately followed by a space character and then immediately followed by *
Something else to consider even though the existing tests to not test for it, would your function return the correct value for the following cases?