<s> import sys <EOL> from shapely . geos import geos_version_string , lgeos , WKTWriter <EOL> from shapely import speedups <EOL> test_int_types = [ int ] <EOL> try : <EOL> import numpy <EOL> numpy_version = numpy . version . version <EOL> test_int_types . extend ( [ int , numpy . int16 , numpy . int32 , numpy . int64 ] ) <EOL> except ImportError : <EOL> numpy = False <EOL> numpy_version = '<STR_LIT>' <EOL> print ( '<STR_LIT>' + sys . version . replace ( '<STR_LIT:\n>' , '<STR_LIT:U+0020>' ) ) <EOL> print ( '<STR_LIT>' + geos_version_string ) <EOL> print ( '<STR_LIT>' + numpy_version ) <EOL> print ( '<STR_LIT>' + str ( speedups . available ) ) <EOL> if lgeos . geos_version >= ( <NUM_LIT:3> , <NUM_LIT:3> , <NUM_LIT:0> ) : <EOL> WKTWriter . defaults = { } <EOL> if sys . version_info [ <NUM_LIT:0> : <NUM_LIT:2> ] <= ( <NUM_LIT:2> , <NUM_LIT:6> ) : <EOL> import unittest2 as unittest <EOL> else : <EOL> import unittest </s>
