tests: Skip Python tests if the bindings are not built.