diff options
author | AlexSm <alex@ydb.tech> | 2023-12-21 15:05:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 15:05:38 +0100 |
commit | e98bcbc74422492351c51646dba3849a138a8ffc (patch) | |
tree | 38ad7a09b1f9c201ce8a7e3d69f2017388769224 /util/memory/blob_ut.pyx | |
parent | 559d7083cd8378cb25b9e966dedcca21d413e338 (diff) | |
download | ydb-e98bcbc74422492351c51646dba3849a138a8ffc.tar.gz |
Import libs 1 (#590)
* Import libs 1
* Add new file without extension
* Add file missed in export config
Diffstat (limited to 'util/memory/blob_ut.pyx')
-rw-r--r-- | util/memory/blob_ut.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/memory/blob_ut.pyx b/util/memory/blob_ut.pyx index 35a72996de..b4b501adc6 100644 --- a/util/memory/blob_ut.pyx +++ b/util/memory/blob_ut.pyx @@ -45,7 +45,7 @@ class TestBlob(unittest.TestCase): def test_copy(self): cdef const char* txt = "hello world" cdef TBlob tmp = TBlob.Copy(txt, len(txt)) - self.assertNotEquals(tmp.AsCharPtr() - txt, 0) + self.assertNotEqual(tmp.AsCharPtr() - txt, 0) self.assertEqual(tmp.Size(), 11) self.assertEqual(tmp.AsCharPtr()[:tmp.Size()], "hello world") self.assertEqual(tmp.Empty(), False) @@ -137,5 +137,5 @@ class TestBlob(unittest.TestCase): cdef TBlob tmp2 = tmp.DeepCopy() self.assertEqual(tmp.AsCharPtr()[:tmp.Size()], "hello world") self.assertEqual(tmp2.AsCharPtr()[:tmp2.Size()], "hello world") - self.assertNotEquals(tmp2.AsCharPtr() - tmp.AsCharPtr(), 0) + self.assertNotEqual(tmp2.AsCharPtr() - tmp.AsCharPtr(), 0) |