Commits

Anonymous committed 2d1474f

Fixed a minor IO error for some platforms and stdout on running the tests.

  • Participants
  • Parent commits 3fe94f4
  • Branches pgreloaded

Comments (0)

Files changed (1)

File test/util/support.py

 class StreamOutput (object):
     def __init__ (self, stream):
         self.stream = stream
-        self.startoffset = self.stream.tell ()
+        try:
+            self.startoffset = self.stream.tell ()
+        except IOError:
+            self.startoffset = 0
         self.curoffset = 0
 
     def writeline (self, data=None):