This is an initial unittest for gallery.py. This test requires adding blank __init__.py to /doc so that a test can ‘from doc.gallery import *’. Python uses the existence of an __init__.py to mark a directory as in the path of containing python code.