You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>Add <codeclass="docutils literal"><spanclass="pre">driver</span></code> keyword for FirebirdConnection. Allowed values are ‘fdb’ or
158
-
‘kinterbasdb’. Default is to test ‘fdb’ and ‘kinterbasdb’ in that order.</li>
159
-
<li>Add <codeclass="docutils literal"><spanclass="pre">driver</span></code> keyword for MySQLConnection. Allowed value is ‘mysqldb’.</li>
157
+
<li>Add <codeclass="docutils literal"><spanclass="pre">driver</span></code> keyword for FirebirdConnection. Allowed values are ‘fdb’
158
+
or ‘kinterbasdb’. Default is to test ‘fdb’ and ‘kinterbasdb’ in that
159
+
order.</li>
160
+
<li>Add support for <aclass="reference external" href="https://pypi.python.org/pypi/mysql-connector">MySQL Connector</a> (pure python; <aclass="reference external" href="https://dev.mysql.com/doc/connector-python/en/">binary
161
+
packages</a> are not at
162
+
PyPI and hence are hard to install and test; most tests are passed, but
163
+
there are still problems).</li>
164
+
<li>Add support for <aclass="reference external" href="https://github.com/python-oursql/oursql">oursql</a> MySQL
165
+
driver (Python 2.6 and 2.7; most tests are passed, but there are still
166
+
problems).</li>
167
+
<li>Add <codeclass="docutils literal"><spanclass="pre">driver</span></code> keyword for MySQLConnection. Allowed value are ‘mysqldb’,
168
+
‘connector’ and ‘oursql’. Default is to test for mysqldb only;
169
+
(connector and oursql drivers still cause problems).</li>
160
170
</ul>
161
171
</div>
162
172
<divclass="section" id="documentation">
163
173
<h3>Documentation<aclass="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h3>
164
174
<ulclass="simple">
165
175
<li>The docs are now generated with Sphinx.</li>
166
-
<li>Move <codeclass="docutils literal"><spanclass="pre">docs/LICENSE</span></code> to the top-level directory so that Github recognizes
167
-
it.</li>
176
+
<li>Move <codeclass="docutils literal"><spanclass="pre">docs/LICENSE</span></code> to the top-level directory so that Github
177
+
recognizes it.</li>
168
178
</ul>
169
179
</div>
170
180
<divclass="section" id="tests">
@@ -173,8 +183,8 @@ <h3>Tests<a class="headerlink" href="#tests" title="Permalink to this headline">
173
183
<li>Rename <codeclass="docutils literal"><spanclass="pre">py.test</span></code> -> <codeclass="docutils literal"><spanclass="pre">pytest</span></code> in tests and docs.</li>
to <codeclass="docutils literal"><spanclass="pre">SOTestXXX</span></code> to prevent <codeclass="docutils literal"><spanclass="pre">pytest</span></code> to recognize them as test classes.</li>
176
-
<li>Fix <codeclass="docutils literal"><spanclass="pre">pytest</span></code> warnings by converting yield tests to plain calls:
177
-
yield tests were deprecated in <codeclass="docutils literal"><spanclass="pre">pytest</span></code>.</li>
186
+
<li>Fix <codeclass="docutils literal"><spanclass="pre">pytest</span></code> warnings by converting yield tests to plain calls: yield
187
+
tests were deprecated in <codeclass="docutils literal"><spanclass="pre">pytest</span></code>.</li>
178
188
<li>Tests are now run at CIs with <codeclass="docutils literal"><spanclass="pre">python3.5</span></code>.</li>
179
189
<li>Tests are split at <codeclass="docutils literal"><spanclass="pre">Circle</span><spanclass="pre">CI</span></code> in 4 parallel containers.</li>
<aclass="reference external" href="https://postgresql.org">PostgreSQL</a> via <aclass="reference external" href="http://initd.org/psycopg/">psycopg2</a> or psycopg1, <aclass="reference external" href="https://sqlite.org/">SQLite</a> via <aclass="reference external" href="https://github.com/ghaering/pysqlite">PySQLite</a>, <aclass="reference external" href="http://www.firebirdsql.org/en/python-driver/">Firebird</a>
316
-
via <aclass="reference external" href="http://www.firebirdsql.org/en/devel-python-driver/">fdb</a> or <aclass="reference external" href="http://kinterbasdb.sourceforge.net/">kinterbasdb</a>, <aclass="reference external" href="http://maxdb.sap.com/">MAX DB</a> (also known as SAP DB) via <aclass="reference external" href="http://maxdb.sap.com/doc/7_8/50/01923f25b842438a408805774f6989/frameset.htm">sapdb</a>,
317
-
Sybase via <aclass="reference external" href="http://www.object-craft.com.au/projects/sybase/">Sybase</a>, and <aclass="reference external" href="http://www.microsoft.com/sql/">MSSQL Server</a> via <aclass="reference external" href="http://www.pymssql.org/en/latest/index.html">pymssql</a> (+ <aclass="reference external" href="http://www.freetds.org/">FreeTDS</a>) or
<aclass="reference external" href="https://pypi.python.org/pypi/mysqlclient">mysqlclient</a> for Python 3) or <aclass="reference external" href="https://pypi.python.org/pypi/mysql-connector">MySQL Connector</a> or <aclass="reference external" href="https://github.com/python-oursql/oursql">oursql</a>, <aclass="reference external" href="https://postgresql.org">PostgreSQL</a>
316
+
via <aclass="reference external" href="http://initd.org/psycopg/">psycopg2</a> or psycopg1, <aclass="reference external" href="https://sqlite.org/">SQLite</a> via <aclass="reference external" href="https://github.com/ghaering/pysqlite">PySQLite</a>, <aclass="reference external" href="http://www.firebirdsql.org/en/python-driver/">Firebird</a> via <aclass="reference external" href="http://www.firebirdsql.org/en/devel-python-driver/">fdb</a> or
317
+
<aclass="reference external" href="http://kinterbasdb.sourceforge.net/">kinterbasdb</a>, <aclass="reference external" href="http://maxdb.sap.com/">MAX DB</a> (also known as SAP DB) via <aclass="reference external" href="http://maxdb.sap.com/doc/7_8/50/01923f25b842438a408805774f6989/frameset.htm">sapdb</a>, Sybase via
318
+
<aclass="reference external" href="http://www.object-craft.com.au/projects/sybase/">Sybase</a>, and <aclass="reference external" href="http://www.microsoft.com/sql/">MSSQL Server</a> via <aclass="reference external" href="http://www.pymssql.org/en/latest/index.html">pymssql</a> (+ <aclass="reference external" href="http://www.freetds.org/">FreeTDS</a>) or <aclass="reference external" href="http://adodbapi.sourceforge.net/">adodbapi</a>
<spanclass="k">return</span><spanclass="n">value</span><spanclass="o">.</span><spanclass="n">encode</span><spanclass="p">(</span><spanclass="n">dbEncoding</span><spanclass="p">)</span><spanclass="c1"># convrt to bytes</span>
<spanclass="s2">"expected a str in the StringCol '</span><spanclass="si">%s</span><spanclass="s2">', got </span><spanclass="si">%s</span><spanclass="s2"></span><spanclass="si">%r</span><spanclass="s2"> instead"</span><spanclass="o">%</span><spanclass="p">(</span>
0 commit comments