mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
tests: Replace deprecated calls/properties in test_platinfo
This commit is contained in:
@@ -9,7 +9,7 @@ class platinfo_Tests(wtc.WidgetTestCase):
|
||||
def test_platinfo(self):
|
||||
pi = wx.PlatformInformation.Get()
|
||||
|
||||
pi.GetArchitecture()
|
||||
pi.GetBitness()
|
||||
pi.GetOperatingSystemId()
|
||||
pi.GetPortId()
|
||||
|
||||
@@ -17,8 +17,8 @@ class platinfo_Tests(wtc.WidgetTestCase):
|
||||
|
||||
def test_platinfoProperties(self):
|
||||
pi = wx.PlatformInformation.Get()
|
||||
pi.ArchName
|
||||
pi.Architecture
|
||||
pi.Bitness
|
||||
pi.BitnessName
|
||||
pi.DesktopEnvironment
|
||||
pi.Endianness
|
||||
pi.EndiannessName
|
||||
|
||||
Reference in New Issue
Block a user