Added alias test
@@ -113,6 +113,10 @@ class TestAliases(unittest.TestCase):
for xp in (numpy, cupy):
assert xp.conj is xp.conjugate
+ def test_bitwise_not_is_invert(self):
+ for xp in (numpy, cupy):
+ assert xp.bitwise_not is xp.invert
+
# This is copied from chainer/testing/__init__.py, so should be replaced in
# some way.
