Skip to content

Commit

Permalink
bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102)
Browse files Browse the repository at this point in the history
(cherry picked from commit 22fe0eb)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
miss-islington and terryjreedy committed Aug 31, 2021
1 parent c1db759 commit 2280bc1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Lib/idlelib/idle_test/test_macosx.py
Expand Up @@ -12,6 +12,15 @@
alltypes = mactypes | nontypes


def setUpModule():
global orig_tktype
orig_tktype = macosx._tk_type


def tearDownModule():
macosx._tk_type = orig_tktype


class InitTktypeTest(unittest.TestCase):
"Test _init_tk_type."

Expand Down

0 comments on commit 2280bc1

Please sign in to comment.