def test_detect_screen_size():
 try:
  page._detect_screen_size(True, 25)
 except (TypeError, io.UnsupportedOperation):
  pass

def test_detect_screen_size ( ) : try : page . _detect_screen_size ( True , 25 ) except ( TypeError , io . UnsupportedOperation ) : pass
simple smoketest for page .