Skip to content

Commit

Permalink
Add if __name__ == '__main__'
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd authored Nov 21, 2024
1 parent cc07c44 commit 6c60512
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/test/test_ctypes/test_win32_com_foreign_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,7 @@ class IPersist(IUnknown):
self.assertEqual(E_NOINTERFACE, e.exception.hresult)

self.assertEqual(0, ppst.Release())


if __name__ == '__main__':
unittest.main()

0 comments on commit 6c60512

Please sign in to comment.