From 5f5f38fa8a510e43fc747422cfe7eab0c3daf403 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Sat, 25 Oct 2025 03:58:46 +0900 Subject: [PATCH] fix: fix quotation --- test/shared_ptr.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/shared_ptr.py b/test/shared_ptr.py index d250ae7e..4ef88f78 100644 --- a/test/shared_ptr.py +++ b/test/shared_ptr.py @@ -38,7 +38,7 @@ 12 >>> try: modify(p) ... except TypeError: pass -... else: 'print(expected a TypeError)' +... else: print('expected a TypeError') >>> look(None) -1 >>> store(p) @@ -61,7 +61,7 @@ bye 13 >>> try: modify(z) ... except TypeError: pass -... else: 'print(expected a TypeError)' +... else: print('expected a TypeError') >>> Z.get() # should be None >>> store(z) @@ -84,7 +84,7 @@ bye 17 >>> try: modify(x) ... except TypeError: pass -... else: 'print(expected a TypeError)' +... else: print('expected a TypeError') >>> look(None) -1 >>> store(x)