diff options
Diffstat (limited to 'src/zope/component/standalonetests.py')
-rw-r--r-- | src/zope/component/standalonetests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zope/component/standalonetests.py b/src/zope/component/standalonetests.py index 8d1bbf6..69d72a0 100644 --- a/src/zope/component/standalonetests.py +++ b/src/zope/component/standalonetests.py @@ -1,13 +1,14 @@ """ See: https://bugs.launchpad.net/zope3/+bug/98401 """ + import sys import pickle -def write(x): # pragma: NO COVER +def write(x): sys.stdout.write('%s\n' % x) -if __name__ == "__main__": #pragma NO COVER (runs in subprocess) +if __name__ == "__main__": if sys.version_info[0] >= 3: # TextIO? Are you kidding me? data = sys.stdin.buffer.read() |