Fix a test for Python 3.8.0b1
`int`, among other types, no longer has a `__str__` method, so `(str '3)` now returns "(HyInteger 3)" instead of "3".
This commit is contained in:
parent
a2f9452319
commit
36708e8e99
@ -386,7 +386,7 @@ in expansions."
|
|||||||
;; Now, let's use a `require`d macro that depends on another macro defined only
|
;; Now, let's use a `require`d macro that depends on another macro defined only
|
||||||
;; in this scope.
|
;; in this scope.
|
||||||
(defmacro local-test-macro [x]
|
(defmacro local-test-macro [x]
|
||||||
(.format "This is the local version of `nonlocal-test-macro` returning {}!" x))
|
(.format "This is the local version of `nonlocal-test-macro` returning {}!" (int x)))
|
||||||
|
|
||||||
(assert (= "This is the local version of `nonlocal-test-macro` returning 3!"
|
(assert (= "This is the local version of `nonlocal-test-macro` returning 3!"
|
||||||
(test-module-macro-2 3)))
|
(test-module-macro-2 3)))
|
||||||
|
Loading…
Reference in New Issue
Block a user