Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed May 29, 2024
1 parent b12b8af commit 3d7c5d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions comtypes/test/test_dispifc_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 3d7c5d3

Please sign in to comment.