~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Lib/sqlite3/test/dump.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
    def CheckTableDump(self):
15
15
        expected_sqls = [
 
16
                """CREATE TABLE "index"("index" blob);"""
 
17
                ,
 
18
                """INSERT INTO "index" VALUES(X'01');"""
 
19
                ,
 
20
                """CREATE TABLE "quoted""table"("quoted""field" text);"""
 
21
                ,
 
22
                """INSERT INTO "quoted""table" VALUES('quoted''value');"""
 
23
                ,
16
24
                "CREATE TABLE t1(id integer primary key, s1 text, " \
17
25
                "t1_i1 integer not null, i2 integer, unique (s1), " \
18
26
                "constraint t1_idx1 unique (i2));"