code: def testAllowF64TruePreferF32False(self):
      np_dtypes.set_allow_float64(True)
      np_dtypes.set_prefer_float32(False)
      self.assertEqual(dtypes.float64, np_dtypes.default_float_type())
      self.assertEqual(dtypes.float64, np_dtypes._result_type(1.1))
      self.assertEqual(dtypes.complex128, np_dtypes._result_type(1.0j))
  
file_path: tensorflow-upstream/tensorflow/python/ops/numpy_ops/np_dtypes_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops.numpy_ops import np_dtypes
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the DTypeTest obj's underlying member method code with example usage: obj.testAllowF64TruePreferF32False() without return types