Opened 8 years ago

Closed 8 years ago

#5440 closed defect (fixed)

test_gdalindex_4 failure

Reported by: Kurt Schwehr Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords: autotest


The if says it expects 5 features, but the comment says 4 and I'm seeing 4 features with 1.11.0RC1

    ds = ogr.Open('tmp/tileindex.shp')
    if ds.GetLayer(0).GetFeatureCount() != 5:
        gdaltest.post_reason( 'got %d features, expecting 4' %  ds.GetLayer(0).GetFeatureCount() )
        return 'fail'
  TEST: test_gdaltindex_1 ... success
  TEST: test_gdaltindex_2 ... success
  TEST: test_gdaltindex_3 ... success
  TEST: test_gdaltindex_4 ... fail
    line 196: got 4 features, expecting 4
  TEST: test_gdaltindex_5 ... fail
    line 228: got 1 features, expecting 2
  TEST: test_gdaltindex_6 ... success
  TEST: test_gdaltindex_cleanup ... success

Change History (1)

comment:1 Changed 8 years ago by Even Rouault

Milestone: 1.11.0
Resolution: fixed
Status: newclosed

Error message fixed in r27249.

For the rest, closing assuming it was just Proj.4 unavailable

Note: See TracTickets for help on using tickets.