code: def test_splitdrive(self):
      # splitdrive for non-NT paths
      splitdrive = self.pathmodule.splitdrive
      self.assertEqual(splitdrive("/foo/bar"), ("", "/foo/bar"))
      self.assertEqual(splitdrive("foo:bar"), ("", "foo:bar"))
      self.assertEqual(splitdrive(":foo:bar"), ("", ":foo:bar"))
  
      self.assertEqual(splitdrive(b"/foo/bar"), (b"", b"/foo/bar"))
      self.assertEqual(splitdrive(b"foo:bar"), (b"", b"foo:bar"))
      self.assertEqual(splitdrive(b":foo:bar"), (b"", b":foo:bar"))
  
imports: import genericpath
  import os
  import sys
  import unittest
  import warnings
  from test.support import is_emscripten
  from test.support import os_helper
  from test.support import warnings_helper
  from test.support.script_helper import assert_python_ok
  from test.support.os_helper import FakePath
label_desc: Use image node_id 2 for calling the CommonTest obj's underlying member method code with example usage: obj.test_splitdrive() without return types