@staticmethod
    def _set_widget_background_color(widget, color):
        pal = widget.palette()
        pal.setColor(pal.Base, color)
        widget.setPalette(pal)
Connection test
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/panels/search_and_replace.py/SearchAndReplacePanel._set_widget_background_color--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/utils/mpwrappers.py/ReliableClient.test_ping