Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/c/h/chipy8-HEAD/chipy8/tests/test_memory.py   chipy8(Download)
# coding: utf-8
from unittest import TestCase
from chipy8.memory import Memory, Screen, FONT_SPRITES, FONT_ADDRESS
    def test_font_sprites(self):
        'Chip8 has 16 preset sprites corresponding from 0 to F.'
        in_memory = self.memory.read(FONT_ADDRESS, len(FONT_SPRITES))
        self.assertSequenceEqual(FONT_SPRITES, in_memory)