Skip to content

Commit

Permalink
Slightly simplify a test class
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodiologist committed Sep 17, 2024
1 parent 000fdc7 commit 2d16a26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/native_tests/with.hy
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2d16a26

Please sign in to comment.