Commit c3ea8f51 authored by Kirill Smelkov's avatar Kirill Smelkov

golang: test_method -> test_func

@method(cls) was deprecated and removed in favour of @func(cls) in
942ee900 (golang: Deprecate @method(cls) in favour of @func(cls)) and
262f8986 (golang: Kill @method). The test name was overlooked.
parent 924a808c
...@@ -480,7 +480,7 @@ def _test_blockforever(): ...@@ -480,7 +480,7 @@ def _test_blockforever():
with raises(BlocksForever): select((z.send, 1), z.recv) with raises(BlocksForever): select((z.send, 1), z.recv)
def test_method(): def test_func():
# test how @func(cls) works # test how @func(cls) works
# this also implicitly tests just @func, since @func(cls) uses that. # this also implicitly tests just @func, since @func(cls) uses that.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment