From 2ddd74af98dc0703ef4b92510e3986802378ab11 Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Mon, 31 Dec 2018 12:44:36 +0100 Subject: [PATCH] remove erroneous check --- kwant/tests/test_operator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/kwant/tests/test_operator.py b/kwant/tests/test_operator.py index a9545bf8..cc76209e 100644 --- a/kwant/tests/test_operator.py +++ b/kwant/tests/test_operator.py @@ -77,7 +77,6 @@ def test_operator_construction(): raises(ValueError, a, ket) raises(ValueError, a, ket, ket) raises(ValueError, a.act, ket) - raises(ValueError, a.act, ket, ket) # Test failure on non-hermitian for A in (ops.Density, ops.Current, ops.Source): -- GitLab