def test_no_gamma():
 win = visual.Window([600, 600], autoLog=False)
 assert (win.useNativeGamma == True)
 win.close()
 'Or if gamma is provided but by a default monitor?'
 win = visual.Window([600, 600], monitor='blaah', autoLog=False)
 assert (win.useNativeGamma == True)
 win.close()

def test_no_gamma ( ) : win = visual . Window ( [ 600 , 600 ] , autoLog = False ) assert ( win . useNativeGamma == True ) win . close ( ) win = visual . Window ( [ 600 , 600 ] , monitor = 'blaah' , autoLog = False ) assert ( win . useNativeGamma == True ) win . close ( )
check that no gamma is used if not passed .