Skip to content

Commit faabd46

Browse files
committed
Fixed a test
1 parent 9e7ca5d commit faabd46

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*__pycache__
2+
.pytest_cache
23

34
/docs/build
45

tests/test_individual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_axelrod_interaction():
2222

2323
def test_init():
2424
individual_1 = Individual(1, 1, 5, 10)
25-
individual_2 = Individual(1, 1, 5, 10, [1, 5, 3, 0, 9])
25+
individual_2 = Individual(1, 1, 5, 10, features=[1, 5, 3, 0, 9])
2626

2727
assert len(individual_1.features) == individual_1.number_of_features
2828
assert individual_2.features == [1, 5, 3, 0, 9]

0 commit comments

Comments
 (0)