Opened 10 years ago

Closed 10 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
Cc:

Description

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_gdaltindex.py 
  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 by Even Rouault, 10 years ago

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.