class_docstr: Tests function periodically.
class_docstr_tok: ["Tests","function","periodically","."]
docstr: Tests value error when argument fn is not a callable.
docstr_tok: ["Tests","value","error","when","argument","fn","is","not","a","callable","."]
code: def testFunctionNotCallable(self):
      """Tests value error when argument fn is not a callable."""
      self.assertRaises(
          TypeError, periodic_ops.periodically, body=1, period=2
      )
  
file_path: trfl/trfl/periodic_ops_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow.compat.v1
  from trfl import periodic_ops
label_desc: Use image node_id 4 for calling the PeriodicallyTest obj's underlying member method code with example usage: obj.testFunctionNotCallable() without return types