<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/tests/test_quote.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>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>Skipped a couple of tests failing on old dbs</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-06T21:09:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=7b11b959089b39012d287b6d3969f6f2a66046b6'/>
<id>7b11b959089b39012d287b6d3969f6f2a66046b6</id>
<content type='text'>
I don't even know why - worth investigating.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I don't even know why - worth investigating.
</pre>
</div>
</content>
</entry>
<entry>
<title>Deal consistently with E'' quotes in tests</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:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=3873c6c09f133dd7793d8fcd1547341e22f1705b'/>
<id>3873c6c09f133dd7793d8fcd1547341e22f1705b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed tests failing on Python 2.6</title>
<updated>2016-12-24T00:03:57+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2016-12-23T23:18:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=a478ba9a4785eac4839f0c4f65e90f6557d42c65'/>
<id>a478ba9a4785eac4839f0c4f65e90f6557d42c65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Dropped use of b() "macro" and 2to3 fixer</title>
<updated>2016-08-15T00:56:36+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2016-08-15T00:55:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=78649f8e905f04c3000abef23725d557a103abef'/>
<id>78649f8e905f04c3000abef23725d557a103abef</id>
<content type='text'>
Just use the b"" strings syntax supported from python 2.6.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just use the b"" strings syntax supported from python 2.6.
</pre>
</div>
</content>
</entry>
<entry>
<title>Throw an exception when a NUL character is used as a parameter.</title>
<updated>2016-07-18T20:56:55+00:00</updated>
<author>
<name>Alexander Schrijver</name>
<email>alex@flupzor.nl</email>
</author>
<published>2016-07-17T14:32:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=03824a1dba8eb4b82fff3fd6c0a8ae513e72a2a1'/>
<id>03824a1dba8eb4b82fff3fd6c0a8ae513e72a2a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow adapting bytes using QuotedString on Python 3 too</title>
<updated>2016-07-01T18:14:00+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2016-07-01T18:11:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=5bcaf11f9db43f15d52943916647a0cc0dc6ffca'/>
<id>5bcaf11f9db43f15d52943916647a0cc0dc6ffca</id>
<content type='text'>
Close #365.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #365.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed encoding tests on Py3</title>
<updated>2016-07-01T17:50:24+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2016-07-01T17:50:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=70af49c0a2a59c516fe89b30019430b8db551833'/>
<id>70af49c0a2a59c516fe89b30019430b8db551833</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
