class_docstr: Test encoding features to a directory
class_docstr_tok: ["Test","encoding","features","to","a","directory"]
code: def tearDown(self):
      from os import rmdir
  
      self.assertRaises(IOError, self.encoder_function, self.sink)
      rmdir(self.sink)
  
imports: import unittest
  from unit_timeside import TestRunner
  from test_encoding import TestEncoding
label_desc: Use image node_id 2 for calling the TestEncodingToDirectory obj's underlying member method code with example usage: obj.tearDown() without return types