MCPcopy Index your code
hub / github.com/python/cpython / test_no_animation_sets_tracer_0

Method test_no_animation_sets_tracer_0

Lib/test/test_turtle.py:557–561  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

555 self.assertEqual(f.read(), "postscript")
556
557 def test_no_animation_sets_tracer_0(self):
558 s = turtle.TurtleScreen(cv=unittest.mock.MagicMock())
559
560 with s.no_animation():
561 self.assertEqual(s.tracer(), 0)
562
563 def test_no_animation_resets_tracer_to_old_value(self):
564 s = turtle.TurtleScreen(cv=unittest.mock.MagicMock())

Callers

nothing calls this directly

Calls 3

no_animationMethod · 0.95
tracerMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected