Changeset 843 for trunk/tests


Ignore:
Timestamp:
Feb 8, 2016, 4:23:14 PM (3 years ago)
Author:
cito
Message:

Silently accept unescaped quotes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_dbapi20.py

    r842 r843  
    9696        cur.execute("select %s, 'a %% sign'", ('a % sign',))
    9797        self.assertEqual(cur.fetchone(), ('a % sign', 'a % sign'))
     98        cur.execute("select 'a % sign'")
     99        self.assertEqual(cur.fetchone(), ('a % sign',))
    98100        cur.execute("select 'a %% sign'")
    99101        self.assertEqual(cur.fetchone(), ('a % sign',))
Note: See TracChangeset for help on using the changeset viewer.