Hey, I submitted the Homework earlier today. In my local machine every test passed.
In the virtual machine one test didn't pass though. I thought my program exceeded the maximum time, but after scrolling a couple of times in the "results" console I found this error:
args = ('py._io.terminalwriter', None, None, ['__doc__']), kargs = {}
name = 'py._io.terminalwriter'
def _check_import(*args, **kargs)=
name = args[0]
if name in forbidden or (not forbidden and name not in allowed)=
print(f"Importing {name} ({kargs}) (not allowed)")
> raise ForbiddenError(f"The import of '{name}' is forbidden")
E testlib.ForbiddenError= The import of 'py._io.terminalwriter' is forbidden
testlib.py=42= ForbiddenError
I searched on this website and found that a similar error happened last year in the Italian course here.
So, I was wondering if it's a problem of my code or not.
P.S. I have yet to experiment how the forum works, so I apologise if the question's style isn't pretty.