<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/tests/test_module.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>Full flake8 3.5 cleanup</title>
<updated>2018-10-22T23:39:14+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2018-10-22T23:39:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=05f9e231a0aafed57b1f38ad6a1e6a5838b05cc5'/>
<id>05f9e231a0aafed57b1f38ad6a1e6a5838b05cc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added Diagnostics.severity_nonlocalized attribute</title>
<updated>2018-10-04T15:13:46+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2018-10-04T15:13:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=4e0b2ec9c9f8783a82fa3079ee1e152eeb3e1af6'/>
<id>4e0b2ec9c9f8783a82fa3079ee1e152eeb3e1af6</id>
<content type='text'>
Close #783.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #783.
</pre>
</div>
</content>
</entry>
<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>Merge remote-tracking branch 'jdufresne/import-unittest'</title>
<updated>2017-12-02T12:10:26+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-12-02T12:10:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=06396e51629b1ac0d7e1f4042bbf4410bb7a81f1'/>
<id>06396e51629b1ac0d7e1f4042bbf4410bb7a81f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>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>Remove use of skip_before_python for unsupported Python versions</title>
<updated>2017-11-27T00:43:18+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-11-27T00:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=dfc9932f27b003c8cd428f29c1910bf17902bd81'/>
<id>dfc9932f27b003c8cd428f29c1910bf17902bd81</id>
<content type='text'>
psycopg2 does not support Python &lt; 2.6, remove all test guards for these
versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
psycopg2 does not support Python &lt; 2.6, remove all test guards for these
versions.
</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>assertDsnEqual moved as TestSuite method</title>
<updated>2017-02-06T21:40:05+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-02-06T18:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=e599da6308b348fe843c533da97e3d0cc4215952'/>
<id>e599da6308b348fe843c533da97e3d0cc4215952</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
