[FYI] Remove duplicate skip_python_tests invocation

Message ID 20190127215209.24325-1-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey Jan. 27, 2019, 9:52 p.m. UTC
  I noticed that py-finish-breakpoint.exp had two calls to
skip_python_tests, in quick succession.  This patch removes the second
one.

gdb/testsuite/ChangeLog
2019-01-27  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
	skip_python_tests.
---
 gdb/testsuite/ChangeLog                           | 5 +++++
 gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)
  

Patch

diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp
index 27987c2092..293c9138c8 100644
--- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp
+++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp
@@ -53,9 +53,6 @@  if { $gdb_py_is_py24 == 1 } {
     return 0
 }
 
-# Skip all tests if Python scripting is not enabled.
-if { [skip_python_tests] } { continue }
-
 #
 # Test FinishBreakpoint in normal conditions
 #