mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 11:00: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):
|
def test_platinfo(self):
|
||||||
pi = wx.PlatformInformation.Get()
|
pi = wx.PlatformInformation.Get()
|
||||||
|
|
||||||
pi.GetArchitecture()
|
pi.GetBitness()
|
||||||
pi.GetOperatingSystemId()
|
pi.GetOperatingSystemId()
|
||||||
pi.GetPortId()
|
pi.GetPortId()
|
||||||
|
|
||||||
@@ -17,8 +17,8 @@ class platinfo_Tests(wtc.WidgetTestCase):
|
|||||||
|
|
||||||
def test_platinfoProperties(self):
|
def test_platinfoProperties(self):
|
||||||
pi = wx.PlatformInformation.Get()
|
pi = wx.PlatformInformation.Get()
|
||||||
pi.ArchName
|
pi.Bitness
|
||||||
pi.Architecture
|
pi.BitnessName
|
||||||
pi.DesktopEnvironment
|
pi.DesktopEnvironment
|
||||||
pi.Endianness
|
pi.Endianness
|
||||||
pi.EndiannessName
|
pi.EndiannessName
|
||||||
|
|||||||
Reference in New Issue
Block a user