From 3d7c5d3eeecd8915b187ead003e5749afeff7045 Mon Sep 17 00:00:00 2001 From: Jun Komoda <45822440+junkmd@users.noreply.github.com> Date: Wed, 29 May 2024 01:23:41 +0000 Subject: [PATCH] update --- .github/workflows/autotest.yml | 3 +-- comtypes/test/test_dispifc_records.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autotest.yml b/.github/workflows/autotest.yml index 3564083d..efeaad4e 100644 --- a/.github/workflows/autotest.yml +++ b/.github/workflows/autotest.yml @@ -10,8 +10,7 @@ jobs: strategy: matrix: os: [windows-latest, windows-2019] - # python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] architecture: ['x86', 'x64'] steps: - uses: actions/checkout@v3 diff --git a/comtypes/test/test_dispifc_records.py b/comtypes/test/test_dispifc_records.py index 2a6810af..665f6573 100644 --- a/comtypes/test/test_dispifc_records.py +++ b/comtypes/test/test_dispifc_records.py @@ -98,7 +98,7 @@ def _create_dualifc(self) -> "ComtypesCppTestSrvLib.IDualRecordParamTest": interface=ComtypesCppTestSrvLib.IDualRecordParamTest, ) - def test_byref(self): + def test_internal_byref(self): dualifc = self._create_dualifc() # Passing a record by reference to a method that has declared the parameter # as [in, out] we expect modifications of the record on the server side to @@ -110,7 +110,7 @@ def test_byref(self): self.assertEqual(test_record.question, None) self.assertEqual(test_record.answer, 0) self.assertEqual(test_record.needs_clarification, False) - dualifc.InitRecord(byref(test_record)) + dualifc.InitRecord(test_record) self.assertEqual(test_record.question, self.EXPECTED_INITED_QUESTIONS) self.assertEqual(test_record.answer, 42) self.assertEqual(test_record.needs_clarification, True)