From 92b1eb26d7adf61382abacd841a4464fd101c978 Mon Sep 17 00:00:00 2001 From: JC <46825930+jcalvarezjr@users.noreply.github.com> Date: Sun, 26 Nov 2023 17:00:54 -0600 Subject: [PATCH] Update test_sample.py --- test_sample.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test_sample.py b/test_sample.py index 663bb19..2cdc05d 100644 --- a/test_sample.py +++ b/test_sample.py @@ -5,11 +5,3 @@ def inc(x): def test_answer(): assert inc(3) == 5 - -def f(): - raise SystemExit(1) - - -def test_mytest(): - with pytest.raises(SystemExit): - f()