Author: marky1991 <[email protected]>
Branch: py3.3
Changeset: r81722:26a69bf1f021
Date: 2016-01-10 23:02 -0500
http://bitbucket.org/pypy/pypy/changeset/26a69bf1f021/

Log:    Remove unnecessary comments.

diff --git a/pypy/module/__pypy__/test/test_stderrprinter.py 
b/pypy/module/__pypy__/test/test_stderrprinter.py
--- a/pypy/module/__pypy__/test/test_stderrprinter.py
+++ b/pypy/module/__pypy__/test/test_stderrprinter.py
@@ -7,9 +7,6 @@
     p.close()  # this should be a no-op
     p.flush()  # this should be a no-op
     assert p.fileno() == 2
-    # It doesn't make sense to assert this.  Stderror could be a tty
-    # (the terminal) or not, depending on how we are running the tests.
-    # assert p.isatty()
     assert p.write('foo') == 3
     raises(TypeError, p.write, b'foo')
 
diff --git a/pypy/module/imp/test/test_import.py 
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -636,8 +636,6 @@
     def test_del_from_sys_modules(self):
         try:
             import del_sys_module
-        #This raises a KeyError in cpython,
-        #not an import error
         except KeyError:
             pass    # ok
         else:
diff --git a/pypy/module/sys/test/test_sysmodule.py 
b/pypy/module/sys/test/test_sysmodule.py
--- a/pypy/module/sys/test/test_sysmodule.py
+++ b/pypy/module/sys/test/test_sysmodule.py
@@ -32,7 +32,6 @@
         w_sys.flush_std_files(space)
 
         msg = space.bytes_w(space.call_function(w_read))
-        # IOError has become an alias for OSError
         assert 'Exception OSError' in msg
     finally:
         space.setattr(w_sys, space.wrap('stdout'), w_sys.get('__stdout__'))
diff --git a/pypy/module/test_lib_pypy/test_code_module.py 
b/pypy/module/test_lib_pypy/test_code_module.py
--- a/pypy/module/test_lib_pypy/test_code_module.py
+++ b/pypy/module/test_lib_pypy/test_code_module.py
@@ -21,8 +21,6 @@
 
     def test_cause_tb(self):
         interp = self.get_interp()
-        # (Arbitrarily) Changing to TypeError as IOError is now an alias of
-        # OSError, making testing confusing
         interp.runsource('raise TypeError from OSError')
         result = interp.out.getvalue()
         expected_header = """OSError
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to