summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVictor Uriarte <victor.m.uriarte@intel.com>2016-06-06 19:12:34 -0700
committerVictor Uriarte <victor.m.uriarte@intel.com>2016-06-06 19:13:50 -0700
commit4f89efaace999e3c885c9bfc131e93740eb7c016 (patch)
tree47113510671390acc43641d076f1bc05f6c4db11 /tests
parent321509255b31c9de14f7d4049f36de141e12c0e5 (diff)
downloadsqlparse-rb-parse-create-table.tar.gz
Update todo items for pull requestrb-parse-create-table
Diffstat (limited to 'tests')
-rw-r--r--tests/test_create_table_info.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_create_table_info.py b/tests/test_create_table_info.py
index d31922e..67f3124 100644
--- a/tests/test_create_table_info.py
+++ b/tests/test_create_table_info.py
@@ -7,6 +7,8 @@ from sqlparse.filters import get_create_table_info
from sqlparse.lexer import tokenize
+# TODO: Use Py.Test for testing compat from 2.6, 2.7, 3.3-3.5+
+# TODO: Format test
class TestCasePy27Features(object):
class __AssertRaisesContext(object):
def __init__(self, expected_exception, expected_regexp):
@@ -35,8 +37,7 @@ class TestCasePy27Features(object):
return self.__AssertRaisesContext(expected_exception, expected_regexp)
-
-
+# TODO: Update exception in test for Py3 compat
class Test_GetCreateTableInfo(TestCase, TestCasePy27Features):
sql1 = """
CREATE TABLE item (