~kenneth-arnold/pytables/dev

« back to all changes in this revision

Viewing changes to tables/tests/test_attributes.py

  • Committer: faltet
  • Date: 2009-06-29 13:10:32 UTC
  • Revision ID: vcs-imports@canonical.com-20090629131032-7lhucdpi9sn8wm14
A change on a private method of the AttributeSet class (_g_listAttr) made some tests to fail when in verbose mode.  Replaced by a public method call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
        assert agroup._v_attrs._f_list() == ["rs"]
238
238
        if common.verbose:
239
239
            print "Attribute list in disk:", \
240
 
                  agroup._v_attrs._g_listAttr()
 
240
                  agroup._v_attrs._f_list()
241
241
        # Check the disk attribute names
242
242
        assert agroup._v_attrs._f_list("all") == \
243
243
               ['CLASS', 'TITLE', 'VERSION', "rs"]
280
280
        assert agroup._v_attrs._f_list() == ["rs"]
281
281
        if common.verbose:
282
282
            print "Attribute list in disk:", \
283
 
                  agroup._v_attrs._g_listAttr()
 
283
                  agroup._v_attrs._f_list()
284
284
        # Check the disk attribute names
285
285
        assert agroup._v_attrs._f_list("all") == \
286
286
               ['CLASS', 'TITLE', 'VERSION', "rs"]