'Invalid dates should still render the failed date.'

def test_render_invalid_date(self):

    self.check_html(self.widget, 'mydate', '2010-02-31', html='\n                                                <select    name="mydate_month"    id="id_mydate_month">\n                                                                <option    value="0">---</option>\n                                                                <option    value="1">January</option>\n                                                                <option    value="2"    selected>February</option>\n                                                                <option    value="3">March</option>\n                                                                <option    value="4">April</option>\n                                                                <option    value="5">May</option>\n                                                                <option    value="6">June</option>\n                                                                <option    value="7">July</option>\n                                                                <option    value="8">August</option>\n                                                                <option    value="9">September</option>\n                                                                <option    value="10">October</option>\n                                                                <option    value="11">November</option>\n                                                                <option    value="12">December</option>\n                                                </select>\n\n                                                <select    name="mydate_day"    id="id_mydate_day">\n                                                                <option    value="0">---</option>\n                                                                <option    value="1">1</option>\n                                                                <option    value="2">2</option>\n                                                                <option    value="3">3</option>\n                                                                <option    value="4">4</option>\n                                                                <option    value="5">5</option>\n                                                                <option    value="6">6</option>\n                                                                <option    value="7">7</option>\n                                                                <option    value="8">8</option>\n                                                                <option    value="9">9</option>\n                                                                <option    value="10">10</option>\n                                                                <option    value="11">11</option>\n                                                                <option    value="12">12</option>\n                                                                <option    value="13">13</option>\n                                                                <option    value="14">14</option>\n                                                                <option    value="15">15</option>\n                                                                <option    value="16">16</option>\n                                                                <option    value="17">17</option>\n                                                                <option    value="18">18</option>\n                                                                <option    value="19">19</option>\n                                                                <option    value="20">20</option>\n                                                                <option    value="21">21</option>\n                                                                <option    value="22">22</option>\n                                                                <option    value="23">23</option>\n                                                                <option    value="24">24</option>\n                                                                <option    value="25">25</option>\n                                                                <option    value="26">26</option>\n                                                                <option    value="27">27</option>\n                                                                <option    value="28">28</option>\n                                                                <option    value="29">29</option>\n                                                                <option    value="30">30</option>\n                                                                <option    value="31"    selected>31</option>\n                                                </select>\n\n                                                <select    name="mydate_year"    id="id_mydate_year">\n                                                                <option    value="0">---</option>\n                                                                <option    value="2007">2007</option>\n                                                                <option    value="2008">2008</option>\n                                                                <option    value="2009">2009</option>\n                                                                <option    value="2010"    selected>2010</option>\n                                                                <option    value="2011">2011</option>\n                                                                <option    value="2012">2012</option>\n                                                                <option    value="2013">2013</option>\n                                                                <option    value="2014">2014</option>\n                                                                <option    value="2015">2015</option>\n                                                                <option    value="2016">2016</option>\n                                                </select>\n                                                ')
