Comment 1 for bug 1077253

Revision history for this message
Brian Murray (brian-murray) wrote :

I believe this simple modification to test_python_crashes.py demonstrates the problem:

=== modified file 'test/test_python_crashes.py'
--- test/test_python_crashes.py 2012-08-28 22:16:25 +0000
+++ test/test_python_crashes.py 2012-11-09 23:24:49 +0000
@@ -136,6 +136,8 @@
             'Traceback', 'ProblemType', 'ProcEnviron', 'ProcStatus',
             'ProcCmdline', 'Date', 'ExecutablePath', 'ProcMaps',
             'UserGroups']
+ self.assertEqual(pr['ExecutableTimestamp'],
+ str(int(os.stat(pr['ExecutablePath']).st_mtime)))
         self.assertTrue(set(expected_keys).issubset(set(pr.keys())),
             'report has necessary fields')
         self.assertTrue('bin/python' in pr['InterpreterPath'])