Permalink
Browse files

Ellipsize float values in properties test.

  • Loading branch information...
1 parent 90f0c3e commit 2ec1dfd79852d550de0f91c217a8e94a471950ad @sgillies sgillies committed Apr 16, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 tests/properties.txt
View
@@ -27,7 +27,7 @@ Test pretty printed string
'dat_extension': 'dat',
'dimension': 2,
'filename': '',
- 'fill_factor': 0.69999999999999996,
+ 'fill_factor': 0...,
'idx_extension': 'idx',
'index_capacity': 100,
'index_id': None,
@@ -37,15 +37,18 @@ Test pretty printed string
'pagesize': 4096,
'point_pool_capacity': 500,
'region_pool_capacity': 1000,
- 'reinsert_factor': 0.29999999999999999,
- 'split_distribution_factor': 0.40000000000000002,
+ 'reinsert_factor': 0...,
+ 'split_distribution_factor': 0...,
'storage': 1,
'tight_mbr': True,
'tpr_horizon': 20.0,
'type': 0,
'variant': 2,
'writethrough': False}
+Test property setting
+
+ >>> p = index.Property()
>>> p.type = 0
>>> p.type
0

0 comments on commit 2ec1dfd

Please sign in to comment.