Skip to content

Commit 3e9f314

Browse files
author
JiangweiWang
committed
insert bug codes on purpose
1 parent 7d4f203 commit 3e9f314

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

my_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ def add_func(a, var_two):
99
var_two: second variable
1010
1111
"""
12-
return a + var_two
12+
return a + var_two

test_my_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def test_add_one():
6-
assert add_func(2, 5) == 7
6+
assert add_func(2, 5) == 6
77

88

99
@pytest.mark.xfail

0 commit comments

Comments
 (0)