ese-msc / introduction-to-python

"Introduction to Python" course for future Imperial College London MSc students
BSD 3-Clause "New" or "Revised" License
75 stars 94 forks source link

Failing pybryt test but succeeding assert tests #54

Closed acse-bg1223 closed 1 year ago

acse-bg1223 commented 1 year ago

I am working through the exercises on the online jupyter workbooks but keep getting the same error as seen below for all my exercises. When I test the code with the assert tests, it passes. Not sure what I am missing

NameError Traceback (most recent call last) Cell In[94], line 1 ----> 1 with pybryt.check(pybryt_reference(1, 4)): 2 p, A_0, n, A_n

NameError: name 'pybryt_reference' is not defined

marijanbeg commented 1 year ago

Hi @acse-92d36642, did you run the first cell in the notebook which contains from lecture import pybryt_reference?

acse-bg1223 commented 1 year ago

I did not see that, I ran it and now the pybryt tests are working. Thank you

marijanbeg commented 1 year ago

Great, thank you for letting us know. I will close this issue now.