From 4009c47543dc0c158fd53783ff3ed02e4b7f446a Mon Sep 17 00:00:00 2001 From: Jan Teichert-Kluge Date: Fri, 8 Dec 2023 13:21:27 +0100 Subject: [PATCH] Fix Typo in try except statement --- doubleml/tests/test_dummy_learners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doubleml/tests/test_dummy_learners.py b/doubleml/tests/test_dummy_learners.py index ee3d979a..a357345c 100644 --- a/doubleml/tests/test_dummy_learners.py +++ b/doubleml/tests/test_dummy_learners.py @@ -42,5 +42,5 @@ def test_clone(dl_fixture): try: _ = clone(dl_fixture["dummy_regressor"]) _ = clone(dl_fixture["dummy_classifier"]) - except Error as e: + except Exception as e: pytest.fail(f"clone() raised an exception:\n{str(e)}\n")