# Skip this test if btrace is disabled.
-require !skip_btrace_tests
+require !skip_btrace_tests !skip_python_tests
load_lib gdb-python.exp
if [prepare_for_testing "failed to prepare" $testfile $srcfile] { return -1 }
-# Skip this test if python is disabled.
-
-if { [skip_python_tests] } {
- untested "skipping python tests"
- return -1
-}
-
if {![runto_main]} {
return -1
}