コード例 #1
0
 def test_not_strict(self, dict_a, dict_b):
     assert helpers.intersection(dict_a, dict_b, False) == {
         1: None,
         3: False,
         4: int
     }
コード例 #2
0
 def test(self, dict_a, dict_b):
     assert helpers.intersection(dict_a, dict_b) == {1: None, 3: False}
コード例 #3
0
ファイル: helpers_test.py プロジェクト: haaksmash/pyutils
 def test_not_strict(self, dict_a, dict_b):
     assert helpers.intersection(dict_a, dict_b, False) == {1: None, 3: False, 4: int}
コード例 #4
0
ファイル: helpers_test.py プロジェクト: haaksmash/pyutils
 def test(self, dict_a, dict_b):
     assert helpers.intersection(dict_a, dict_b) == {1: None, 3: False}
コード例 #5
0
 def test_not_strict(self):
     T.assert_equal(helpers.intersection(self.dict_a, self.dict_b, False), {1: None, 3: False, 4: int})
コード例 #6
0
 def test(self):
     T.assert_equal(helpers.intersection(self.dict_a, self.dict_b), {1: None, 3: False})