Python unit tests failing silently

Problem description:
Unit tests in Python not giving any results

Expected behavior:
Unit test should give a pass/fail result

Actual behavior:
Unit test says it is running, then return to previous state without results

Steps to reproduce:
Submit to any replit with unit tests

Bug appears at this link:

Browser/OS/Device:

1 Like

try running the test on a difrent repl and see if it does the same thing sometimes i have isues with unit tests till i use a difrent repl on a difrent node and then it will work

Hey @MwalimuD!

Could you send me the link to your repl and a loom.com video of the issue so I can get a better idea of how Unit Tests behave on your end?

@ShaneAtReplit Can you tell me if there is any resolution to this issue? A peer of mine is using Unit tests in Python (or was) and is experiencing this same issue.

@NuclearPasta0 posted this solution that worked for me:

[unitTest]
language = "python3"

Add the above to the .replit file.

That thread is here: Help with a simple test - Support / Teams for Edu - Replit Ask

This topic is different from the one you linked. This topic is related to Unit Tests, while the one you linked is regarding I/O tests, which is an issue we are working on fixing.