diff options
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 612cefd..33fb3bc 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -809,7 +809,7 @@ file_read(PyFileObject *f, PyObject *args) if (_PyString_Resize(&v, buffersize) < 0) return NULL; } else { - assert(bytesread == bytesrequested); + /* Got what was requested. */ break; } } |