Skip to content

Commit 3da8778

Browse files
authored
This should be escaped
1 parent 002e3d9 commit 3da8778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/PythonKitTests/PythonFunctionTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class PythonFunctionTests: XCTestCase {
127127
helloOutput = String(message)
128128

129129
// Conventional `super` syntax causes problems; use this instead.
130-
Python.Exception.__init__(self, message)
130+
Python.Exception.__init__(`self`, message)
131131
return Python.None
132132
},
133133

@@ -151,7 +151,7 @@ class PythonFunctionTests: XCTestCase {
151151
`self`.int_param = params[2]
152152

153153
// Conventional `super` syntax causes problems; use this instead.
154-
HelloException.__init__(self, message)
154+
HelloException.__init__(`self`, message)
155155
return Python.None
156156
},
157157

0 commit comments

Comments
 (0)