<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/tests/__init__.py, branch register-bytes</title>
<subtitle>github.com: psycopg/psycopg2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/'/>
<entry>
<title>Read exceptions to raise from a Python module</title>
<updated>2018-08-17T01:00:01+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2018-06-06T00:12:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=ce1ac3aea92738d4456733b94caec9da1f41a295'/>
<id>ce1ac3aea92738d4456733b94caec9da1f41a295</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use relative imports throughout tests</title>
<updated>2017-12-10T18:51:07+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-12-04T02:47:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=1a8e992fcc87b2d15911b60cc9220ec50a70a4ff'/>
<id>1a8e992fcc87b2d15911b60cc9220ec50a70a4ff</id>
<content type='text'>
The tests relied on Python2 relative import semantics. Python3 changed
import semantics to always search sys.path by default. To import using a
relative path it must have a leading dot.

Forward compatible with newer Pythons.

Works towards the goal of moving tests outside of the installed package.

For more information, see PEP-328:

https://www.python.org/dev/peps/pep-0328/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests relied on Python2 relative import semantics. Python3 changed
import semantics to always search sys.path by default. To import using a
relative path it must have a leading dot.

Forward compatible with newer Pythons.

Works towards the goal of moving tests outside of the installed package.

For more information, see PEP-328:

https://www.python.org/dev/peps/pep-0328/
</pre>
</div>
</content>
</entry>
<entry>
<title>Use print() function instead of print statement throughout project</title>
<updated>2017-12-10T18:51:07+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-12-04T02:47:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f'/>
<id>9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f</id>
<content type='text'>
Forward compatible with newer Pythons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Forward compatible with newer Pythons.
</pre>
</div>
</content>
</entry>
<entry>
<title>Always import the system unittest</title>
<updated>2017-12-02T02:35:30+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-12-02T01:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=fcc083dc123946039fdfc88c55bbd4902dadd52a'/>
<id>fcc083dc123946039fdfc88c55bbd4902dadd52a</id>
<content type='text'>
There is no need to import testutils.unittest instead of simply
unittest. They are simple aliases. Use system unittest to be more
regular, consistent as well as idiomatic with the wider Python
community.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no need to import testutils.unittest instead of simply
unittest. They are simple aliases. Use system unittest to be more
regular, consistent as well as idiomatic with the wider Python
community.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use modern except syntax throughout project</title>
<updated>2017-11-21T04:00:35+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-11-21T04:00:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=390e43fcb191d1b52ca747e2b71f938f9df52c95'/>
<id>390e43fcb191d1b52ca747e2b71f938f9df52c95</id>
<content type='text'>
The syntax "except Exception, exc:" is deprecated. All Python versions
supported by psycopg2 support the newer, modern syntax. Forward
compatible with future Python versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The syntax "except Exception, exc:" is deprecated. All Python versions
supported by psycopg2 support the newer, modern syntax. Forward
compatible with future Python versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into sql-compose</title>
<updated>2017-02-03T04:56:02+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-02-03T04:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=de8b335d80ecba0305e2b4796373a4064fd450b3'/>
<id>de8b335d80ecba0305e2b4796373a4064fd450b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'async-keyword'</title>
<updated>2017-02-03T04:45:17+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-02-03T04:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=1911b250e33e140bbbc25f3536bda24e8ca35bdb'/>
<id>1911b250e33e140bbbc25f3536bda24e8ca35bdb</id>
<content type='text'>
Close #495
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #495
</pre>
</div>
</content>
</entry>
<entry>
<title>Added async_ as an alias for async</title>
<updated>2017-02-03T04:43:49+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-02-03T04:28:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=ce9be69615c700a0472098c5db171d33091c0b5a'/>
<id>ce9be69615c700a0472098c5db171d33091c0b5a</id>
<content type='text'>
Added in argument for psycopg2.connect() and connection.__init__, and
for the connection.async attribute.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added in argument for psycopg2.connect() and connection.__init__, and
for the connection.async attribute.
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert warnings into errors on test</title>
<updated>2017-02-03T04:41:32+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-02-02T19:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=8baf6aa37293c75e8ffbf150f6504faa43a08045'/>
<id>8baf6aa37293c75e8ffbf150f6504faa43a08045</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid an useless encode/decode roundtrip in execute_values()</title>
<updated>2017-02-02T17:29:17+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-02-02T17:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=dc1b4fff9001964c719e3f4471cc5a6fe6533e3a'/>
<id>dc1b4fff9001964c719e3f4471cc5a6fe6533e3a</id>
<content type='text'>
Tests moved into a separate module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests moved into a separate module.
</pre>
</div>
</content>
</entry>
</feed>
