Traceback (most recent call last):


 "test-func.py", line 15, in <module>

y = Func().apply((x,))


 "/data/work/w/repos/chainer/chainer/function_node.py", line 241, in apply

for y in outputs])


 "/data/work/w/repos/chainer/chainer/function_node.py", line 241, in <listcomp>

for y in outputs])


 "/data/work/w/repos/chainer/chainer/variable.py", line 454, in __init__

raise TypeError(msg)
TypeError: numpy.ndarray or cuda.ndarray are expected.

Traceback (most recent call last):


 "/home/devpi/devpi/bin/devpi", line 11, in <module>

sys.exit(main())


 "/home/devpi/devpi/local/lib/python3.5/site-packages/devpi/main.py", line 30, in main

return method(hub, hub.args)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/devpi/test.py", line 223, in main

ret = devindex.runtox(*args)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/devpi/test.py", line 92, in runtox

ret = toxrunner(toxargs)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/session.py", line 39, in main

retcode = Session(config).runcommand()


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/session.py", line 375, in runcommand

return self.subcommand_test()


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/session.py", line 526, in subcommand_test

if self.setupenv(venv):


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/session.py", line 434, in setupenv

status = venv.update(action=action)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/venv.py", line 142, in update

action.setactivity("create", self.envconfig.envdir)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/session.py", line 96, in setactivity

self.report.verbosity0("%s %s: %s" % (self.venvname, name, msg), bold=True)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/session.py", line 301, in verbosity0

self.logline("%s" % msg, **opts)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/tox/session.py", line 297, in logline

self.tw.line("%s" % msg, **opts)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/py/_io/terminalwriter.py", line 201, in line

self.write(s, **kw)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/py/_io/terminalwriter.py", line 198, in write

write_out(self._file, markupmsg)


 "/home/devpi/devpi/local/lib/python3.5/site-packages/py/_io/terminalwriter.py", line 333, in write_out

fil.write(msg)


 "/home/devpi/devpi/lib/python3.5/codecs.py", line 377, in write

self.stream.write(data)
TypeError: write() argument must be str, not bytes
