Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Unified Diff: mojo/python/tests/system_unittest.py

Issue 1364463006: Make Python not support "all or none" for two-phase data pipe read/write. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/python/mojo_system.pyx ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/python/tests/system_unittest.py
diff --git a/mojo/python/tests/system_unittest.py b/mojo/python/tests/system_unittest.py
index 7a3febc22286962f924d7876a2f6f20d217c162f..b956033512fba1735a5e7740adf40e2beed34f32 100644
--- a/mojo/python/tests/system_unittest.py
+++ b/mojo/python/tests/system_unittest.py
@@ -264,7 +264,7 @@ class CoreTest(mojo_unittest.MojoTestCase):
def testTwoPhaseWriteOnDataPipe(self):
pipes = system.DataPipe()
- (res, buf) = pipes.producer_handle.BeginWriteData(DATA_SIZE)
+ (res, buf) = pipes.producer_handle.BeginWriteData()
self.assertEquals(system.RESULT_OK, res)
self.assertGreaterEqual(len(buf.buffer), DATA_SIZE)
data = _GetRandomBuffer(DATA_SIZE)
« no previous file with comments | « mojo/public/python/mojo_system.pyx ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698