Skip to content

Commit 5f5f38f

Browse files
e-kwsmstefanseefeld
authored andcommitted
fix: fix quotation
1 parent cc873d9 commit 5f5f38f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/shared_ptr.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
12
3939
>>> try: modify(p)
4040
... except TypeError: pass
41-
... else: 'print(expected a TypeError)'
41+
... else: print('expected a TypeError')
4242
>>> look(None)
4343
-1
4444
>>> store(p)
@@ -61,7 +61,7 @@
6161
13
6262
>>> try: modify(z)
6363
... except TypeError: pass
64-
... else: 'print(expected a TypeError)'
64+
... else: print('expected a TypeError')
6565
6666
>>> Z.get() # should be None
6767
>>> store(z)
@@ -84,7 +84,7 @@
8484
17
8585
>>> try: modify(x)
8686
... except TypeError: pass
87-
... else: 'print(expected a TypeError)'
87+
... else: print('expected a TypeError')
8888
>>> look(None)
8989
-1
9090
>>> store(x)

0 commit comments

Comments
 (0)