Skip to content

Commit 26503ce

Browse files
committed
Minor fixes
1 parent c9f8542 commit 26503ce

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

isc/py/Callout.cls

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ ClassMethod StreamInit(length As %Integer) As %Status
155155
quit sc
156156
}
157157

158-
/// Write piece into incoming Stream
158+
/// Write piece into incoming Stream.
159+
/// If initial length is not enough, additional allocation is performed.
159160
/// write ##class(isc.py.Callout).StreamWrite()
160161
ClassMethod StreamWrite(code As %String = "") As %Status
161162
{
@@ -197,6 +198,7 @@ ClassMethod StreamExecute() As %Status
197198
/// write ##class(isc.py.Callout).Finalize()
198199
ClassMethod Finalize() As %Status
199200
{
201+
#dim sc As %Status = $$$OK
200202
try {
201203
do $ZF(-6, ..#PyLibId, ..#Finalize)
202204
} catch ex {

isc/py/unit/TestCase.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,9 @@ Method TestMultiline()
173173
do ##class(isc.py.Callout).SimpleString("del cube")
174174
}
175175

176+
/// Manually test production.
176177
/// 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})
178179
{
179180
set variable = "x"
180181
set stream = ##class(%Stream.GlobalCharacter).%New()

0 commit comments

Comments
 (0)