Lost all assignment progress, getting "got an unexpected keyword argument 'verbose'" when running unittest

I​ lost all my previously passed assignments for weeks 1,2,3 despite not resetting my deadlines. I had saved them so copied and pasted my functions into the new assignments, but now i’m getting a strange error (TypeError: create_dictionaries() got an unexpected keyword argument ‘verbose’) when running the unnitest and as a result failing the assignments … I’m pretty sure the functions i’m passing through are correct as i had passed the assignments and the first function in week 2 is pretty straightforward.

I tried contacting the coursera support staff and they told me to contact the course staff through writing here.

A​ny suggestion welcome thank you

Hi, got not reply but solved my problem so i’m sharing the solution in case someone enconters the same problem with C2_W2_Assignment: the function that was provided in the past had no verbose=True argument, as I was pasting the entire function this was causing the probem as the new version has this argument. So make sure you only paste from the ### START CODE HERE (Replace instances of ‘None’ with your code) ###

1 Like