Skip to content

Commit 10489ae

Browse files
correct little mistakes and ensure it passes the tests
1 parent 8559ef2 commit 10489ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

axelrod/.random_.py.swp

-12 KB
Binary file not shown.

axelrod/strategies/dbs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from axelrod.player import Player
33

44

5-
C, D = axelrod.Actions.C, axelrod.Actions.D
5+
C, D = Actions.C, Actions.D
66

77

88
class DBS(Player):

axelrod/tests/strategies/test_dbs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
C, D = axelrod.Actions.C, axelrod.Actions.D
88

99

10-
class TestNode(unittest.testCase):
10+
class TestNode(unittest.TestCase):
1111
"""
1212
Test for the base class
1313
"""
1414
node = axelrod.dbs.Node()
1515

1616
def test_get_siblings(self):
17-
with self.assetRaises(NotImplementedError) as context:
17+
with self.assertRaises(NotImplementedError) as context:
1818
self.node.get_siblings()
1919

2020
def test_is_stochastic(self):

0 commit comments

Comments
 (0)