def test_skip_building_editables(self, caplog):
        with patch('pip.wheel.WheelBuilder._build_one') as mock_build_one:
            editable = Mock(editable=True, is_wheel=False, constraint=False)
            reqset = Mock(requirements=Mock(values=lambda: [editable]),
                          wheel_download_dir='/wheel/dir')
            wb = wheel.WheelBuilder(reqset, Mock())
            wb.build()
            assert "due to being editable" in caplog.text()
            assert mock_build_one.mock_calls == []
dataset/ETHPy150Open pypa/pip/tests/unit/test_wheel.py/TestWheelBuilder.test_skip_building_editables/original