File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ ClassMethod StreamInit(length As %Integer) As %Status
155
155
quit sc
156
156
}
157
157
158
- /// Write piece into incoming Stream
158
+ /// Write piece into incoming Stream.
159
+ /// If initial length is not enough, additional allocation is performed.
159
160
/// write ##class(isc.py.Callout).StreamWrite()
160
161
ClassMethod StreamWrite (code As %String = " " ) As %Status
161
162
{
@@ -197,6 +198,7 @@ ClassMethod StreamExecute() As %Status
197
198
/// write ##class(isc.py.Callout).Finalize()
198
199
ClassMethod Finalize () As %Status
199
200
{
201
+ #dim sc As %Status = $$$OK
200
202
try {
201
203
do $ZF (-6 , ..#PyLibId, ..#Finalize)
202
204
} catch ex {
Original file line number Diff line number Diff line change @@ -173,8 +173,9 @@ Method TestMultiline()
173
173
do ##class (isc.py.Callout ).SimpleString (" del cube" )
174
174
}
175
175
176
+ /// Manually test production.
176
177
/// do ##class(isc.py.unit.TestCase).TestProductionStream()
177
- ClassMethod TestProductionStream (count As %Integer = 1000000 , separateLines As %Boolean = {$$$YES})
178
+ ClassMethod PassProductionStream (count As %Integer = 1000000 , separateLines As %Boolean = {$$$YES})
178
179
{
179
180
set variable = " x"
180
181
set stream = ##class (%Stream.GlobalCharacter ).%New ()
You can’t perform that action at this time.
0 commit comments