Fixing syntax in tests
This commit is contained in:
		@@ -28,5 +28,6 @@ class TestRandomWalk(unittest.TestCase):
 | 
			
		||||
            y, x = queue.pop()
 | 
			
		||||
            if m.tiles[y][x].can_walk():
 | 
			
		||||
                m.tiles[y][x] = Tile.WALL
 | 
			
		||||
                queue += m.neighbourhood(y, x)
 | 
			
		||||
                queue += Map.neighbourhood(m.tiles, y, x)
 | 
			
		||||
 | 
			
		||||
        self.assertFalse(any([any([t.can_walk() for t in l]) for l in m.tiles]))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user