(C4_W2_Assigment UNQ_C3) Issue with unit test

I implemented UNQ_3 function and the result when the function is called as follows:

but when ever i try to run the unit test i get the following error :

and thoughts ? is it related to my code ?

Hi @Ibrahim_Nada

Yes, there is a bug in the test case - it should have returned: “Expected output does not match.” I will submit it for fixing.

As for your implementation it’s hard to tell. Try finding the mistake yourself, if you won’t be able to find it, you can private message me (by clicking on my avatar) your Assignment notebook (how to download) and I will try to help.