예제 #1
0
 def test_write_long_string_raises(self):
     f = io.BytesIO()
     with self.assertRaises(ValueError):
         aifc._write_string(f, b'too long' * 255)
예제 #2
0
 def test_write_long_string_raises(self):
     f = io.BytesIO()
     with self.assertRaises(ValueError):
         aifc._write_string(f, b'too long' * 255)
예제 #3
0
파일: nodes.py 프로젝트: xxoolm/Ryven
 def update_event(self, inp=-1):
     self.set_output_val(0, aifc._write_string(self.input(0),
                                               self.input(1)))