d63f6b
diff -up Python-2.7.3/Lib/test/test_gdb.py.disable-stack-navigation-tests-when-optimized-in-test_gdb Python-2.7.3/Lib/test/test_gdb.py
d63f6b
--- Python-2.7.3/Lib/test/test_gdb.py.disable-stack-navigation-tests-when-optimized-in-test_gdb	2013-02-20 12:27:05.669526425 -0500
d63f6b
+++ Python-2.7.3/Lib/test/test_gdb.py	2013-02-20 12:27:05.715526422 -0500
d63f6b
@@ -653,10 +653,10 @@ class PyListTests(DebuggerTests):
d63f6b
                            '   3    def foo(a, b, c):\n',
d63f6b
                            bt)
d63f6b
 
d63f6b
+@unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
d63f6b
+@unittest.skipIf(python_is_optimized(),
d63f6b
+                "Python was compiled with optimizations")
d63f6b
 class StackNavigationTests(DebuggerTests):
d63f6b
-    @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
d63f6b
-    @unittest.skipIf(python_is_optimized(),
d63f6b
-                     "Python was compiled with optimizations")
d63f6b
     def test_pyup_command(self):
d63f6b
         'Verify that the "py-up" command works'
d63f6b
         bt = self.get_stack_trace(script=self.get_sample_script(),
d63f6b
@@ -667,7 +667,6 @@ class StackNavigationTests(DebuggerTests
d63f6b
     baz\(a, b, c\)
d63f6b
 $''')
d63f6b
 
d63f6b
-    @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
d63f6b
     def test_down_at_bottom(self):
d63f6b
         'Verify handling of "py-down" at the bottom of the stack'
d63f6b
         bt = self.get_stack_trace(script=self.get_sample_script(),
d63f6b
@@ -675,7 +674,6 @@ $''')
d63f6b
         self.assertEndsWith(bt,
d63f6b
                             'Unable to find a newer python frame\n')
d63f6b
 
d63f6b
-    @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
d63f6b
     def test_up_at_top(self):
d63f6b
         'Verify handling of "py-up" at the top of the stack'
d63f6b
         bt = self.get_stack_trace(script=self.get_sample_script(),
d63f6b
@@ -683,9 +681,6 @@ $''')
d63f6b
         self.assertEndsWith(bt,
d63f6b
                             'Unable to find an older python frame\n')
d63f6b
 
d63f6b
-    @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
d63f6b
-    @unittest.skipIf(python_is_optimized(),
d63f6b
-                     "Python was compiled with optimizations")
d63f6b
     def test_up_then_down(self):
d63f6b
         'Verify "py-up" followed by "py-down"'
d63f6b
         bt = self.get_stack_trace(script=self.get_sample_script(),