-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
self = <test.test_chapter07.test_exercise7_1_2.TestExercise7_1_2 testMethod=test_fair_partition_any_array>
def test_fair_partition_any_array(self):
array = get_random_array()
original = copy.deepcopy(array)
pivot = fair_partition(array, 1, array.length)
for x in array[:pivot]:
> assert_that(x, is_(less_than_or_equal_to(array[pivot])))
E AssertionError:
E Expected: a value less than or equal to <20>
E but: was <52>