PyCharm errors for valid python code
问题 I posted the following question regarding nose and parameterized tests: use-class-method-in-nose-parameterize.expand call and I got my answer, but now I wonder why PyCharm is failing to recognize this as valid code. Does anyone know how to turn off this warning in Pycharm, or should i submit this as a bug to jet brains? Here is what I know works, but PyCharm provides false negative error messages: class MyUnitTestClass(TestCase): def generate_scenarios(): yield ('this_is_my_test', 1, 2)