mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Add missing context manager methods for wx.LogNull
This commit is contained in:
@@ -23,6 +23,12 @@ class log_Tests(wtc.WidgetTestCase):
|
||||
wx.LogMessage("This is a test")
|
||||
self.assertTrue(log.messageLogged)
|
||||
|
||||
|
||||
def test_lognull_is_context_mgr(self):
|
||||
with wx.LogNull():
|
||||
pass
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user