Skip to content

Commit d3d267a

Browse files
committed
Fix usage of xfail
1 parent 256fce6 commit d3d267a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

clean

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
2+
# Author: Dominik Gresch <[email protected]>
3+
4+
find -name "*.pyc" -delete;
5+
find -name "*.pyo" -delete;
6+
find -name "__pycache__" -delete;

tests/test_to_kwant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import numpy as np
1414
import scipy.linalg as la
1515

16-
pytest.mark.xfail(
16+
pytestmark = pytest.mark.xfail(
1717
reason="Kwant tests are disabled since kwant pip installation is broken."
1818
)
1919

0 commit comments

Comments
 (0)