Skip to content

Commit 8ad61fa

Browse files
committed
Change unit-test syntax to be pytest compatible
1 parent ec0dbf5 commit 8ad61fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skrules/tests/test_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55

66
def test_classifier():
7-
return check_estimator(SkopeRules)
7+
check_estimator(SkopeRules)
88

99

1010
def test_load_credit_data():
11-
return load_credit_data().data.shape[0] == 30000
11+
assert load_credit_data().data.shape[0] == 30000

0 commit comments

Comments
 (0)