mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-10-31 07:47:30 +03:00 
			
		
		
		
	Hstore test fixed after adapting arrays dropped space after commas
This commit is contained in:
		
							parent
							
								
									451dc8c5bf
								
							
						
					
					
						commit
						799f8bded4
					
				|  | @ -178,8 +178,8 @@ class HstoreTestCase(ConnectingTestCase): | ||||||
|         m = re.match(br'hstore\(ARRAY\[([^\]]+)\], ARRAY\[([^\]]+)\]\)', q) |         m = re.match(br'hstore\(ARRAY\[([^\]]+)\], ARRAY\[([^\]]+)\]\)', q) | ||||||
|         self.assert_(m, repr(q)) |         self.assert_(m, repr(q)) | ||||||
| 
 | 
 | ||||||
|         kk = m.group(1).split(b", ") |         kk = m.group(1).split(b",") | ||||||
|         vv = m.group(2).split(b", ") |         vv = m.group(2).split(b",") | ||||||
|         ii = zip(kk, vv) |         ii = zip(kk, vv) | ||||||
|         ii.sort() |         ii.sort() | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user