From 2d16a264c0f042a0f7308ea97b9b6c4884617e18 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Tue, 17 Sep 2024 14:32:07 -0400 Subject: [PATCH] Slightly simplify a test class --- tests/native_tests/with.hy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/native_tests/with.hy b/tests/native_tests/with.hy index 51d03d861..2c4f281bd 100644 --- a/tests/native_tests/with.hy +++ b/tests/native_tests/with.hy @@ -15,8 +15,7 @@ (setv exits []) (defclass WithTest [object] (defn __init__ [self val] - (setv self.val val) - None) + (setv self.val val)) (defn __enter__ [self] self.val)