سؤال

@with_checker([int])
    def check_sort(list_of_ints):
        self.assertTrue(isinstance(list_of_ints, list))
        self.assertTrue(len(list) == len(qsort(list)))
        self.assertTrue(False)

I'm trying to run this, but it won't run, what is the problem?

هل كانت مفيدة؟

المحلول

Test names must start with "test_"

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top