[pypy-commit] pypy default: Remove these two lines, which simply causes an exception to be printed
arigo
pypy.commits at gmail.com
Sun May 1 09:38:22 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r84096:d789f9d98fc2
Date: 2016-05-01 13:53 +0200
http://bitbucket.org/pypy/pypy/changeset/d789f9d98fc2/
Log: Remove these two lines, which simply causes an exception to be
printed to stderr and otherwise ignored (both with and without -A)
diff --git a/pypy/module/_io/test/test_bufferedio.py b/pypy/module/_io/test/test_bufferedio.py
--- a/pypy/module/_io/test/test_bufferedio.py
+++ b/pypy/module/_io/test/test_bufferedio.py
@@ -307,7 +307,6 @@
class MyIO(_io.BufferedWriter):
def __del__(self):
record.append(1)
- super(MyIO, self).__del__()
def close(self):
record.append(2)
super(MyIO, self).close()
diff --git a/pypy/module/_io/test/test_io.py b/pypy/module/_io/test/test_io.py
--- a/pypy/module/_io/test/test_io.py
+++ b/pypy/module/_io/test/test_io.py
@@ -88,7 +88,6 @@
class MyIO(io.IOBase):
def __del__(self):
record.append(1)
- super(MyIO, self).__del__()
def close(self):
record.append(2)
super(MyIO, self).close()
More information about the pypy-commit
mailing list