From ecb6682c6524fbfadd26582122f8b51c83ffe51f Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 30 Dec 2021 16:35:38 -0500 Subject: [PATCH] tests: Replace deprecated calls/properties in test_platinfo --- unittests/test_platinfo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittests/test_platinfo.py b/unittests/test_platinfo.py index 974323eb..668575e6 100644 --- a/unittests/test_platinfo.py +++ b/unittests/test_platinfo.py @@ -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