Unit tests stop working after 'upgrading'

Bug description:
Unit tests have stopped working in Teams. I am importing projects from previous year’s teams (up to May 2023) and after ‘upgrading’ they no longer function. This seems to hold true for both my master repls and student repls.

Expected vs Current Behavior:
Unit test should pass for the code in repl below.

Steps to reproduce:
Run the unit test. All should pass. None do. Results for each test show ‘Traceback (most recent call last): File “”, line 1, in NameError: name ‘S’ is not defined’

Bug appears at this link: https://replit.com/teams
https://replit.com/@CS10-2023-Fall/sandwich

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64)

Replit Profile: https://replit.com/@gjwehnes

1 Like

Hey, can you try this:

Unfortunately, this will have to be done for each repl.