code: def test_series_bool_neg():
      sr = Series([True, False, True, None, False, None, True, True])
      psr = sr.to_pandas(nullable=True)
      utils.assert_eq(
          (-sr).to_pandas(nullable=True), -psr, check_dtype=True
      )
  
file_path: cudf/python/cudf/cudf/tests/test_unaops.py
imports: import itertools
  import operator
  import re
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Series
  from cudf.testing import _utils
label_desc: Use image node_id 10 for calling a global function with example usage: test_series_bool_neg() without return types