Skip to content

Commit a459c0e

Browse files
committed
Fixing the registred trademark symbol to utf-8 in
'PyCOMTest.idl' and 'testPyCOMTest.py'.
1 parent 2b59142 commit a459c0e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

com/TestSources/PyCOMTest/PyCOMTest.idl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef enum // Missing EnumTestAttributes2
2626
uuid(6bcdcb60-5605-11d0-ae5f-cadd4c000000),
2727
version(1.1),
2828
// an extended character in the help string should stress things...
29-
helpstring("Python COM Test Harness 1.0 Type Library, pywin32 contributors")
29+
helpstring("Python COM Test Harness 1.0 Type Library, © pywin32 contributors")
3030
]
3131
library PyCOMTestLib
3232
{
@@ -70,7 +70,7 @@ library PyCOMTestLib
7070
const long LongTest2 = 0x7FFFFFFFL;
7171
const unsigned char UCharTest = 255;
7272
const char CharTest = -1;
73-
const LPWSTR StringTest = L"Hello Wold";
73+
const LPWSTR StringTest = L"Hello Wo®ld";
7474
};
7575

7676
enum TestAttributes3{ // Note missing the enum name.

com/win32com/test/testPyComTest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ def TestCommon(o, is_generated):
308308
TestConstant("LongTest2", 0x7FFFFFFF)
309309
TestConstant("UCharTest", 255)
310310
TestConstant("CharTest", -1)
311-
# 'Hello World', but the 'r' is the "Registered" sign (\xae)
312-
TestConstant("StringTest", "Hello Wo\xaeld")
311+
# 'Hello World', but the 'r' is the "Registered" sign ®
312+
TestConstant("StringTest", "Hello Wo®ld")
313313

314314
progress("Checking dates and times")
315315
# For now *all* times passed must be tz-aware.

0 commit comments

Comments
 (0)