From 33b8e65bc0cb56c0c3da28511ce8f7c612c3e1c8 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 31 Jan 2017 00:33:01 +0300 Subject: [PATCH] tests/basics/zip: Make skippable. --- tests/basics/zip.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/basics/zip.py b/tests/basics/zip.py index c0109094f4..958addb7af 100644 --- a/tests/basics/zip.py +++ b/tests/basics/zip.py @@ -1,2 +1,10 @@ +try: + zip + set +except NameError: + print("SKIP") + import sys + sys.exit() + print(list(zip())) -print(list(zip([1], {2,3}))) +print(list(zip([1], set([2, 3]))))