[Python-checkins] cpython: Remove incorrect comment from dis tests

nick.coghlan python-checkins at python.org
Wed Nov 6 13:17:55 CET 2013


http://hg.python.org/cpython/rev/2de806c8b070
changeset:   86962:2de806c8b070
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Wed Nov 06 22:17:39 2013 +1000
summary:
  Remove incorrect comment from dis tests

files:
  Lib/test/test_dis.py |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py
--- a/Lib/test/test_dis.py
+++ b/Lib/test/test_dis.py
@@ -285,7 +285,6 @@
 
     # Run the tests again, using the file arg instead of print
     def get_disassembly(self, func, lasti=-1, wrapper=True):
-        # We want to test the default printing behaviour, not the file arg
         output = io.StringIO()
         if wrapper:
             dis.dis(func, file=output)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list