示例#1
0
 def test_some_ordereddict(self):
     d = _OrderedDict([('a', 1)])
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))
示例#2
0
 def test_some_ordereddict(self):
     d = _OrderedDict([('a', 1)])
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))
示例#3
0
 def test_empty_ordereddict(self):
     d = _OrderedDict()
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))
示例#4
0
 def test_empty_ordereddict(self):
     d = _OrderedDict()
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))