Skip to content

Commit

Permalink
test_eval replace "(1, 2, 3)" with "1 + 2"
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Jan 31, 2025
1 parent 1e0aade commit 4476a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comtypes/test/test_comserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def test_eval(self):
obj = self.create_object()

def func():
return obj.eval("(1, 2, 3)")
return obj.eval("1 + 2")

self.assertEqual(func(), (1, 2, 3)) # type: ignore
self.assertEqual(func(), 3) # type: ignore
self._find_memleak(func)

def test_get_typeinfo(self):
Expand Down

0 comments on commit 4476a34

Please sign in to comment.