gh-66113: Add unit tests for Turtle guionly by StanFromIreland · Pull Request #129532 · python/cpython
The first failure is trying to open couldn't open a non-existent file. "D:\a\cpython\cpython\Lib\test/imghdrdata/python.gif": no such file or directory" Not on my system either for installed or repository versions. The others are for turtle.getscreen()._xxxx()calls raisingturtle.Terminator`. The latter also happens on my Windows system. To see errors, click snowflake on middle upper right edge of Details and then "View raw logs" and scroll to near bottom.
Did the tests run for you? If so, which OS and which exact binary. What is the initial line when you run interactively?
To run just the test file, it needs the following added at the end.
if __name__ == '__main__':
unittest.main()
I don't know anything in particular about testing turtle. I have only worked with turtledemo. Ping whoever has worked on test_turtle if not already.