def generate_style(python_style, ui_style):
    assert isinstance(python_style, dict)
    assert isinstance(ui_style, dict)

    styles = {}
    styles.update(DEFAULT_STYLE_EXTENSIONS)
    styles.update(python_style)
    styles.update(ui_style)

    return style_from_dict(styles)


# Code style for Windows consoles. They support only 16 colors,
# so we choose a combination that displays nicely.
Test the assertion of a location accuracy.
dataset/ETHPy150Open jonathanslenders/ptpython/ptpython/style.py/generate_style--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/device_tracker/test_owntracks.py/TestDeviceTrackerOwnTracks.assert_location_accuracy