Minor code cleanups

This commit is contained in:
kris
2019-06-21 22:08:22 +01:00
parent b0e83d2faf
commit b2c00784b0
6 changed files with 20 additions and 28 deletions

View File

@ -12,7 +12,9 @@ import video_mode
class TestVideo(unittest.TestCase):
def test_diff_weights(self):
fs = frame_grabber.FrameGrabber(mode=video_mode.VideoMode.DHGR)
v = video.Video(fs, ticks_per_second=10000, mode=video_mode.VideoMode.DHGR)
v = video.Video(
fs, ticks_per_second=10000.,
mode=video_mode.VideoMode.DHGR)
frame = screen.MemoryMap(screen_page=1)
frame.page_offset[0, 0] = 0b1111111