projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
6358: Fix race opportunity in ThreadLimiter.
[arvados.git]
/
sdk
/
python
/
tests
/
test_stream.py
diff --git
a/sdk/python/tests/test_stream.py
b/sdk/python/tests/test_stream.py
index e90f6025a3b203ff7c1f3fe08a86186e57ef5dd7..6c3bd61414173fb64fe9ef7b7b1b44dcc4af6d9d 100644
(file)
--- a/
sdk/python/tests/test_stream.py
+++ b/
sdk/python/tests/test_stream.py
@@
-21,7
+21,7
@@
class StreamFileReaderTestCase(unittest.TestCase):
return StreamFileReader(stream, [Range(1, 0, 3), Range(6, 3, 3), Range(11, 6, 3)],
'count.txt')
return StreamFileReader(stream, [Range(1, 0, 3), Range(6, 3, 3), Range(11, 6, 3)],
'count.txt')
- def test_read_
returns_first_block
(self):
+ def test_read_
block_crossing_behavior
(self):
# read() calls will be aligned on block boundaries - see #3663.
sfile = self.make_count_reader()
self.assertEqual('123', sfile.read(10))
# read() calls will be aligned on block boundaries - see #3663.
sfile = self.make_count_reader()
self.assertEqual('123', sfile.read(10))