code: def test_entropy_positive(self):
      # See ticket #497
      pk = [0.5, 0.2, 0.3]
      qk = [0.1, 0.25, 0.65]
      eself = stats.entropy(pk, pk)
      edouble = stats.entropy(pk, qk)
      assert_(0.0 == eself)
      assert_(edouble >= 0.0)
  
imports: import numpy
  from numpy.testing import assert_equal, assert_allclose
  from numpy.testing import assert_, assert_almost_equal, assert_array_almost_equal
  import pytest
  from pytest import raises
  import scipy.stats
label_desc: Use image node_id 1 for calling the TestEntropy obj's underlying member method code with example usage: obj.test_entropy_positive() without return types