Home
last modified time | relevance | path

Searched refs:expected_vars (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest__osx_support.py32 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/
Dtest__osx_support.py31 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/
Dnegative_binomial_test.py201 expected_vars = stats.nbinom.var(n=total_count, p=1 - probs)
203 self.assertAllClose(expected_vars, negbinom.variance().eval())
Dgeometric_test.py149 expected_vars = stats.geom.var(probs_v, loc=-1)
151 self.assertAllClose(expected_vars, geom.variance().eval())