<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/tests/testutils.py, branch expand-version</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>Avoid installing tests to site-packages</title>
<updated>2017-12-10T18:55:58+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=389f6c08d9536060184bfd5c8ea2491a4a91c2fb'/>
<id>389f6c08d9536060184bfd5c8ea2491a4a91c2fb</id>
<content type='text'>
For library end users, there is no need to install tests alongside the
package itself. This keeps the tests available for development without
adding extra packages to user's site-packages directory. Reduces the
size of the installed package. Avoids accidental execution of test code
by an installed package.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For library end users, there is no need to install tests alongside the
package itself. This keeps the tests available for development without
adding extra packages to user's site-packages directory. Reduces the
size of the installed package. Avoids accidental execution of test code
by an installed package.
</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>Remove unnecessary script_to_py3; make scripts compatible instead</title>
<updated>2017-12-02T06:50:16+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-11-29T04:58:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=699be52e8b8a08e04e3486b73f748a7e489b35f2'/>
<id>699be52e8b8a08e04e3486b73f748a7e489b35f2</id>
<content type='text'>
Part of the work towards moving tests out of the installed package.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part of the work towards moving tests out of the installed package.
</pre>
</div>
</content>
</entry>
<entry>
<title>Dropped unused test functions</title>
<updated>2017-11-28T16:11:06+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-11-28T15:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=c3ee9cac41a7703b3f75049403621edd0702c330'/>
<id>c3ee9cac41a7703b3f75049403621edd0702c330</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant hasattr checks</title>
<updated>2017-11-28T16:03:23+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2017-11-28T08:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=53c1c5dcc1da6aa36ee9f53c5276739053b85897'/>
<id>53c1c5dcc1da6aa36ee9f53c5276739053b85897</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'jdufresne/uuid'</title>
<updated>2017-11-28T03:04:26+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-11-28T03:04:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=db0c081d0347f84248d295a1f3eb1b2378a38dff'/>
<id>db0c081d0347f84248d295a1f3eb1b2378a38dff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'jdufresne/iobase'</title>
<updated>2017-11-28T03:04:03+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-11-28T03:04:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=a39d794308cabed87be73cc3405303cfb7398019'/>
<id>a39d794308cabed87be73cc3405303cfb7398019</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove uuid workaround for older Pythons</title>
<updated>2017-11-26T22:46:53+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-11-26T22:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=582ec189cc41491b804f9fb391e99b5720d56d27'/>
<id>582ec189cc41491b804f9fb391e99b5720d56d27</id>
<content type='text'>
uuid is available on all Python versions supported by psycopg2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
uuid is available on all Python versions supported by psycopg2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove io.TextIOBase workaround for Python &lt;= 2.5</title>
<updated>2017-11-26T22:32:35+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-11-26T22:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=f7d5d25651ccd875f7fae479da8847c0b3c0c3ea'/>
<id>f7d5d25651ccd875f7fae479da8847c0b3c0c3ea</id>
<content type='text'>
io.TextIOBase is available on all Python versions supported by psycopg2.
Can remove all workarounds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
io.TextIOBase is available on all Python versions supported by psycopg2.
Can remove all workarounds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove workarounds for namedtuple on Python &lt;= 2.5</title>
<updated>2017-11-26T21:55:30+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-11-26T21:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=05c28cce78aa223e632635af813cbbaed4c82169'/>
<id>05c28cce78aa223e632635af813cbbaed4c82169</id>
<content type='text'>
namedtuple is available on all Python versions supported by psycopg2. It
was first introduced in Python 2.6. Can remove all workarounds and
special documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
namedtuple is available on all Python versions supported by psycopg2. It
was first introduced in Python 2.6. Can remove all workarounds and
special documentation.
</pre>
</div>
</content>
</entry>
</feed>
