Author xdegaye
Recipients georg.brandl, loewis, meador.inge, neologix, orsenthil, python-dev, tshepang, xdegaye
Date 2012-05-02.20:05:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The test has been changed in the default branch by changeset
1b174a117e19.  This change replaces the assertIn by a less restrictive
assertTrue. These changes should also probably be made in 3.2 and 2.7
and hopefully this will fix the problem in 3.2 and 2.7.

The changeset 1b174a117e19 in the default branch is:

diff --git a/Lib/test/ b/Lib/test/
--- a/Lib/test/
+++ b/Lib/test/
@@ -604,6 +604,7 @@
         filename = ''
         with open(filename, 'w') as f:
+        self.addCleanup(support.unlink, filename)
         cmd = [sys.executable, '-m', 'pdb', filename]
         stdout = stderr = None
         with subprocess.Popen(cmd, stdout=subprocess.PIPE,
@@ -660,9 +661,11 @@
         with open('', 'w') as f:
+        self.addCleanup(support.unlink, '')
         stdout, stderr = self.run_pdb(script, commands)
-        self.assertIn('>None', stdout.split('\n')[-3],
-                         'Fail to step into the caller after a return')
+        self.assertTrue(
+            any('>None' in l for l in stdout.splitlines()),
+            'Fail to step into the caller after a return')
Date User Action Args
2012-05-02 20:05:22xdegayesetrecipients: + xdegaye, loewis, georg.brandl, orsenthil, meador.inge, neologix, tshepang, python-dev
2012-05-02 20:05:21xdegayesetmessageid: <>
2012-05-02 20:05:18xdegayelinkissue13183 messages
2012-05-02 20:05:18xdegayecreate