From a2803b74f48849cb3a11fb492fee891044ecc1f4 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 10 Jun 2017 20:03:01 +0300 Subject: tests/basics: Convert "sys.exit()" to "raise SystemExit". --- tests/basics/class_descriptor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/basics/class_descriptor.py') diff --git a/tests/basics/class_descriptor.py b/tests/basics/class_descriptor.py index 7f295f071..eb88ba7b9 100644 --- a/tests/basics/class_descriptor.py +++ b/tests/basics/class_descriptor.py @@ -21,9 +21,8 @@ m = Main() try: m.__class__ except AttributeError: - import sys print("SKIP") - sys.exit() + raise SystemExit r = m.Forward if 'Descriptor' in repr(r.__class__): -- cgit v1.2.3