diff options
| author | Hugo <hugovk@users.noreply.github.com> | 2017-11-28 10:11:42 +0200 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-11-28 16:02:12 +0000 |
| commit | ffcc65d4f04190551de5c71c6f106cb92f9235ab (patch) | |
| tree | 1e21c75945bb5a0f02124b4ce364040a77ee05e0 /tests/test_sql.py | |
| parent | e7529e4823a444b6d71a15bd5fb04e1662e9fc62 (diff) | |
| download | psycopg2-ffcc65d4f04190551de5c71c6f106cb92f9235ab.tar.gz | |
Drop support for EOL Python 2.6
Diffstat (limited to 'tests/test_sql.py')
| -rwxr-xr-x | tests/test_sql.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_sql.py b/tests/test_sql.py index e35bf32..2e12ba6 100755 --- a/tests/test_sql.py +++ b/tests/test_sql.py @@ -32,7 +32,6 @@ from psycopg2 import sql class SqlFormatTests(ConnectingTestCase): - @skip_before_python(2, 7) def test_pos(self): s = sql.SQL("select {} from {}").format( sql.Identifier('field'), sql.Identifier('table')) @@ -91,7 +90,6 @@ class SqlFormatTests(ConnectingTestCase): def test_compose_badnargs(self): self.assertRaises(IndexError, sql.SQL("select {0};").format) - @skip_before_python(2, 7) def test_compose_badnargs_auto(self): self.assertRaises(IndexError, sql.SQL("select {};").format) self.assertRaises(ValueError, sql.SQL("select {} {1};").format, 10, 20) |
