@mock.patch('codalab.lib.path_util.os', new_callable=lambda: None)
  def test_get_relative_path(self, mock_os):
    # The path is a prefix, so get_relative_path should return the suffix.
    self.assertEqual(path_util.get_relative_path('asdf', 'asdfblah'), 'blah')
    self.assertRaises(
      PreconditionViolation,
      lambda: path_util.get_relative_path('asdfg', 'asdfblah'),
    )
Linear frequency axes
dataset/ETHPy150Open codalab/codalab-cli/tests/lib/path_util_test.py/PathUtilTest.test_get_relative_path--crossover with--dataset/ETHPy150Open bmcfee/librosa/librosa/display.py/__axis_linear