Fix the test decorator to return the class.
This commit is contained in:
parent
408f72ef12
commit
dcf29d3d2a
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
|
|
||||||
(defn bardec [cls]
|
(defn bardec [cls]
|
||||||
(setv cls.my_attr 123))
|
(setv cls.my_attr 123)
|
||||||
|
cls)
|
||||||
|
|
||||||
(with-decorator bardec
|
(with-decorator bardec
|
||||||
(defclass cls []
|
(defclass cls []
|
||||||
|
Loading…
Reference in New Issue
Block a user