Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow skipping the slow testmanylinux | Daniele Varrazzo | 2017-02-02 | 1 | -2/+5 |
| | | | | | | | | It's not so much about tests being slow: some just get stuck and timeout travis. Skipped all tests taking about more than 0.2s to run on my laptop. Fast testing takes about 8s instead of 24. | ||||
* | Python source cleanup using flake8 | Daniele Varrazzo | 2016-10-11 | 1 | -17/+22 |
| | |||||
* | Propagate read error messages in COPY FROM | Daniele Varrazzo | 2015-02-08 | 1 | -0/+28 |
| | | | | Fix ticket #270. | ||||
* | Fixed segfault if COPY statements are executed | Daniele Varrazzo | 2014-06-06 | 1 | -1/+39 |
| | | | | Close ticket #219 | ||||
* | Skip rowcount on copy test on postgres < 8.2 | Daniele Varrazzo | 2014-05-13 | 1 | -1/+2 |
| | | | | It looks like the server doesn't send the message. | ||||
* | Copy operations correctly set the cursor.rowcount attribute | Daniele Varrazzo | 2014-05-05 | 1 | -0/+28 |
| | | | | Fixes ticket #180. | ||||
* | Added test to verify copysize handling in copy_expert | Daniele Varrazzo | 2013-05-06 | 1 | -0/+14 |
| | | | | | | | | Not an original psycopg2 bug but present in pure python implementation, e.g. ctypes issue #25 and cffi issue #5. https://github.com/mvantellingen/psycopg2-ctypes/issues/25 https://github.com/chtd/psycopg2cffi/pull/5 | ||||
* | Testing boilerplate unified in a single base class | Daniele Varrazzo | 2013-04-07 | 1 | -7/+4 |
| | | | | | The class makes a connection always available, allows creating new connection and closes everything on tear down. | ||||
* | Tests tweaked to run on all the supported versions | Daniele Varrazzo | 2013-03-18 | 1 | -13/+3 |
| | |||||
* | Allocate dynamically memory for the list of columns in COPY | Daniele Varrazzo | 2011-09-12 | 1 | -0/+19 |
| | | | | Some bloke finds the limit of 8K too restrictive... ticket #68. | ||||
* | Fixed copyfile refcount in copy_expert | Daniele Varrazzo | 2011-06-07 | 1 | -0/+9 |
| | | | | | | | In case of early error, jumping to exit would have decref'd the borrowed reference to file. Issue spotted by Dave Malcolm, thanks! | ||||
* | Added complete roundtrip test with copy_expert and Unicode | Daniele Varrazzo | 2011-02-19 | 1 | -1/+34 |
| | |||||
* | COPY sends unicode to a file if it derives from io.TextIoBase | Daniele Varrazzo | 2011-02-05 | 1 | -3/+57 |
| | | | | Fixes ticket #36. | ||||
* | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-10 | 1 | -0/+23 |
|\ | | | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 tests/__init__.py tests/test_lobject.py tests/test_quote.py tests/testutils.py | ||||
| * | Added license to unit tests | Daniele Varrazzo | 2011-01-09 | 1 | -0/+23 |
| | | | | | | | | As the test suite is now part of the source distribution. | ||||
| * | All tests made executable. | Daniele Varrazzo | 2011-01-07 | 1 | -0/+0 |
| | | |||||
* | | Use ascii_letters instead of letters. | Daniele Varrazzo | 2010-12-31 | 1 | -6/+6 |
| | | | | | | | | The latter is locale-dependent and not available on Py3. | ||||
* | | Test suite converted into a proper package. | Daniele Varrazzo | 2010-12-21 | 1 | -3/+3 |
|/ | | | | | | Dropped cyclic import from modules to tests: they were only working because a second copy of the package was found in the project dir. Use relative import so that 2to3 can do a good conversion. | ||||
* | Test cleanup. | Daniele Varrazzo | 2010-11-19 | 1 | -1/+14 |
| | | | | | | Tests pass or fail gracefully on older PostgreSQL versions. If unittest2 is available, skip tests instead of printing warnings. | ||||
* | Exceptions raised by the columns iterator propagated. | Daniele Varrazzo | 2010-07-10 | 1 | -0/+14 |
| | |||||
* | Added test to verify copy_from() with columns. | Daniele Varrazzo | 2010-07-10 | 1 | -1/+14 |
| | |||||
* | Added some COPY tests. | Daniele Varrazzo | 2010-04-07 | 1 | -0/+104 |