diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ classifiers = [
 
 setup(
     name = "PyProxyFS",
-    version = "0.2",
+    version = "0.5",
     description = "Simple filesystem abstraction",
     long_description = """A proxy filesystem interface with a native
 filesystem implementation and a very simple test in-memory filesystem.""",
diff --git a/src/pyproxyfs/__init__.py b/src/pyproxyfs/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pyproxyfs/__init__.py
+++ b/src/pyproxyfs/__init__.py
@@ -99,6 +99,17 @@ class TestFS(Filesystem):
                 pass
             def read(self):
                 return obj
+            def readline(self, size=-1):
+                if not getattr(self, "lineno", False):
+                    setattr(self, "lineno", 0)
+                lines = obj.split("\n")
+                if self.lineno == len(lines):
+                    return "\n"
+                if self.lineno > len(lines):
+                    raise IOError()
+                line = lines[self.lineno]
+                self.lineno = self.lineno + 1
+                return "%s\n" % line
         return grd()
 
     def rename(self, old, new):
support readline for the test fs "file" object