Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix python2 backward compatibility

Jakub Draganek2f36bb6756e4
diff --git a/tests/test_postgresql_search.py b/tests/test_postgresql_search.py
index c059c47284..18ddefff72 100644
--- a/tests/test_postgresql_search.py
+++ b/tests/test_postgresql_search.py
@@ -97,7 +97,7 @@ USERS = [('Andreas', 'Knop', '[email protected]'),
('Euzebiusz', 'Ziemniak', '[email protected]'),
('John', 'Doe', '[email protected]')]
ORDER_IDS = [10, 45, 13]
-ORDERS = [(pk, *user) for pk, user in zip(ORDER_IDS, USERS)]
+ORDERS = [[pk] + list(user) for pk, user in zip(ORDER_IDS, USERS)]
def gen_address_for_user(first_name, last_name):