449 |
The name of the postgis_sql file is determined by find_postgis_sql() |
The name of the postgis_sql file is determined by find_postgis_sql() |
450 |
- psycopg can be imported successfully. |
- psycopg can be imported successfully. |
451 |
""" |
""" |
452 |
|
# run_command currently uses Popen4 which is not available under |
453 |
|
# Windows, for example. |
454 |
|
if not hasattr(popen2, "Popen4"): |
455 |
|
return "Can't run PostGIS test because popen2.Popen4 does not exist" |
456 |
|
|
457 |
try: |
try: |
458 |
run_command(["pg_ctl", "--help"], None) |
run_command(["pg_ctl", "--help"], None) |
459 |
except RuntimeError: |
except RuntimeError: |