Add missing superclass init calls.

This commit is contained in:
Florian Bruhin 2015-10-26 21:07:08 +01:00
parent 021a379dd2
commit 66b337c2b1
2 changed files with 2 additions and 0 deletions

View File

@ -247,6 +247,7 @@ class PyQIODevice(io.BufferedIOBase):
# pylint: disable=missing-docstring
def __init__(self, dev):
super().__init__()
self.dev = dev
def __len__(self):

View File

@ -419,6 +419,7 @@ class FakeIOStream(io.TextIOBase):
"""A fake file-like stream which calls a function for write-calls."""
def __init__(self, write_func):
super().__init__()
self.write = write_func
def flush(self):