Searched refs:expected_vars (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test__osx_support.py | 32 def add_expected_saved_initial_values(self, config_vars, expected_vars): argument 35 expected_vars.update(('_OSX_SUPPORT_INITIAL_'+ k, 37 if config_vars[k] != expected_vars[k]) 77 expected_vars = { 83 self.assertNotEqual(expected_vars, config_vars) 85 self.assertEqual(expected_vars, config_vars) 91 expected_vars = { 94 self.add_expected_saved_initial_values(config_vars, expected_vars) 98 self.assertEqual(expected_vars, config_vars) 104 expected_vars = config_vars.copy() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test__osx_support.py | 31 def add_expected_saved_initial_values(self, config_vars, expected_vars): argument 34 expected_vars.update(('_OSX_SUPPORT_INITIAL_'+ k, 36 if config_vars[k] != expected_vars[k]) 76 expected_vars = { 82 self.assertNotEqual(expected_vars, config_vars) 84 self.assertEqual(expected_vars, config_vars) 90 expected_vars = { 93 self.add_expected_saved_initial_values(config_vars, expected_vars) 97 self.assertEqual(expected_vars, config_vars) 103 expected_vars = config_vars.copy() [all …]
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | negative_binomial_test.py | 201 expected_vars = stats.nbinom.var(n=total_count, p=1 - probs) 203 self.assertAllClose(expected_vars, negbinom.variance().eval())
|
D | geometric_test.py | 149 expected_vars = stats.geom.var(probs_v, loc=-1) 151 self.assertAllClose(expected_vars, geom.variance().eval())
|