def test_constructor_attrs(self):
        widget = RadioSelect(attrs={'id': 'foo'}, choices=self.beatles)
        html = """
        <ul id="foo">
        <li>
        <label for="foo_0"><input checked="checked" type="radio" id="foo_0" value="J" name="beatle" /> John</label>
        </li>
        <li><label for="foo_1"><input type="radio" id="foo_1" value="P" name="beatle" /> Paul</label></li>
        <li><label for="foo_2"><input type="radio" id="foo_2" value="G" name="beatle" /> George</label></li>
        <li><label for="foo_3"><input type="radio" id="foo_3" value="R" name="beatle" /> Ringo</label></li>
        </ul>
        """
        self.check_html(widget, 'beatle', 'J', html=html)
Loads the module cache from disk.
dataset/ETHPy150Open django/django/tests/forms_tests/widget_tests/test_radioselect.py/RadioSelectTest.test_constructor_attrs--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/developer/code_browser/enclbr.py/load_cache