docstr: ...Test C++ system errors are correctly caught
          
docstr_tok: ["...","Test","C++","system","errors","are","correctly","caught"]
code: def test_throw_system_error(self):
      """...Test C++ system errors are correctly caught"""
      ## Windows returns "permission denied" rather than "Permission denied"
      if platform.system() == "Windows":
          with self.assertRaisesRegex(
              RuntimeError, os.strerror(errno.EACCES).lower()
          ):
              throw_system_error()
      else:
          with self.assertRaisesRegex(
              RuntimeError, os.strerror(errno.EACCES)
          ):
              throw_system_error()
  
file_path: tick/tick/base/tests/exceptions_test.py
imports: import errno
  import os
  import platform
  import unittest
  from tick.base.build.base import throw_out_of_range, throw_system_error, throw_invalid_argument, throw_domain_error, throw_runtime_error, throw_string
label_desc: Use image node_id 2 for calling the Test obj's underlying member method code with example usage: obj.test_throw_system_error() without return types