def test_empty_string(self): check_bidi("")
def test_L_RAL_violation(self): with self.assertRaises(ValueError): check_bidi("\u05be\u0041")