mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +03:00
Rewrite list creation as list literal
This commit is contained in:
parent
955526b200
commit
7282ef0d14
|
@ -365,9 +365,7 @@ class HstoreTestCase(ConnectingTestCase):
|
|||
from psycopg2.extras import register_hstore
|
||||
register_hstore(self.conn)
|
||||
|
||||
ds = []
|
||||
ds.append({})
|
||||
ds.append({'a': 'b', 'c': None})
|
||||
ds = [{}, {'a': 'b', 'c': None}]
|
||||
|
||||
ab = map(chr, range(32, 128))
|
||||
ds.append(dict(zip(ab, ab)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user