From fd12387d8573e14ee6ac1df2a4cab96df68737b3 Mon Sep 17 00:00:00 2001 From: Brant Watson Date: Mon, 24 Oct 2016 07:06:38 -0500 Subject: [PATCH] Improve accuracy of coverage report - Removed 'pass' from several abstract properties functions, and staticmethods --- boltons/ioutils.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/boltons/ioutils.py b/boltons/ioutils.py index 5a9050d..c3352d0 100644 --- a/boltons/ioutils.py +++ b/boltons/ioutils.py @@ -61,37 +61,30 @@ class SpooledIOBase(object): @abstractmethod def read(self, n=-1): """Read n characters from the buffer""" - pass @abstractmethod def write(self, s): """Write into the buffer""" - pass @abstractmethod def readline(self, length=None): """Returns the next available line""" - pass @abstractmethod def readlines(self, sizehint=0): """Returns a list of all lines from the current position forward""" - pass @abstractmethod def rollover(self): """Roll file-like-object over into a real temporary file""" - pass @abstractproperty def buffer(self): """Should return a flo instance""" - pass @abstractproperty def _rolled(self): """Returns whether the file has been rolled to a real file or not""" - pass def _get_softspace(self): return self.buffer.softspace