summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-11-03 13:19:34 +0300
committerrobot-piglet <[email protected]>2025-11-03 13:30:30 +0300
commitd560383ad38f2b482e41032dec7607891c3f8ffe (patch)
tree8980d2e3091cf4d7586773e179aae0391a7a5800 /util
parent73672db4e0da266a2d32be8e83983f1b556eb68d (diff)
Intermediate changes
commit_hash:3eaa0363a0a20d6baf96d02762d2656dc18cf1b1
Diffstat (limited to 'util')
-rw-r--r--util/stream/str.pxd1
-rw-r--r--util/stream/str_ut.pyx5
2 files changed, 1 insertions, 5 deletions
diff --git a/util/stream/str.pxd b/util/stream/str.pxd
index 76dc16a8220..5d6399cde40 100644
--- a/util/stream/str.pxd
+++ b/util/stream/str.pxd
@@ -5,7 +5,6 @@ from util.stream.output cimport IOutputStream
cdef extern from "<util/stream/str.h>" nogil:
cdef cppclass TStringOutput(IOutputStream):
- TStringOutput() except+
TStringOutput(TString&) except+
void Reserve(size_t) except+
diff --git a/util/stream/str_ut.pyx b/util/stream/str_ut.pyx
index 2ae617303f9..203efd1797a 100644
--- a/util/stream/str_ut.pyx
+++ b/util/stream/str_ut.pyx
@@ -10,10 +10,7 @@ import unittest
class TestStringOutput(unittest.TestCase):
- def test_ctor1(self):
- cdef TStringOutput output
-
- def test_ctor2(self):
+ def test_ctor(self):
cdef TString string
cdef THolder[TStringOutput] string_output = THolder[TStringOutput](new TStringOutput(string))