Skip to content

Commit 6ad15ef

Browse files
authored
Removing unnecesary line in test
There is a line in one of the tests that tries to access a class attribute that doesn't exist. While it isn't breaking in any sense, that line is pointless. I've run the tests without the line that they pass appropiately.
1 parent 250bf19 commit 6ad15ef

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

exercises/concept/ellens-alien-game/classes_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def test_alien_class_variable(self):
144144
"""Test class attribute/variables are identical across instances."""
145145

146146
alien_one, alien_two = Alien(0, 2), Alien(-6, -1)
147-
Alien.health = 6
148147

149148
created_error_message = ('Created two new Aliens and requested the '
150149
'total_aliens_created attribute for each one. '

0 commit comments

Comments
 (0)