Changeset 237


Ignore:
Timestamp:
Oct 9, 2009, 9:10:27 AM (10 years ago)
Author:
jjbot
Message:

Separated dbsetup testing code from container unit tests.

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • unit/unitcontainer.py

    r198 r237  
    315315        self.assertEquals(m.nrow, 6)
    316316        self.assertEquals(m.ncol, 4)
     317
     318    def test_stack_after_column_selections(self):
     319        a = self.a[:, 1:2]
     320        b = self.b[:, 0:1]
     321        m = a ++ b
     322        self.assertEquals(m.nrow, 6)
     323        self.assertEquals(m.ncol, 2)
    317324       
    318325    def test_union_of_disjoint_containers(self):
  • unitsuite.py

    r122 r237  
    44from unit.unitcontainer import *
    55#from unit.unitweb import *
    6 from unit.unitxnumpy import *
    7 from unit.unitdb import *
     6#from unit.unitxnumpy import *
     7#from unit.unitdb import *
     8#from unit.unitdbsetup import *
    89
    910unittest.main()
Note: See TracChangeset for help on using the changeset viewer.