code: def test_logical_operators_int_dtype_with_int_scalar(self):
      # GH#9016: support bitwise op for integer types
      s_0123 = Series(range(4), dtype="int64")
  
      res = s_0123 & 0
      expected = Series([0] * 4)
      tm.assert_series_equal(res, expected)
  
      res = s_0123 & 1
      expected = Series([0, 1, 0, 1])
      tm.assert_series_equal(res, expected)
  
imports: from datetime import datetime
  import operator
  import numpy
  import pytest
  from pandas import DataFrame, Index, Series, bdate_range
  import pandas._testing
  from pandas.core import ops
label_desc: Use image node_id 4 for calling the TestSeriesLogicalOps obj's underlying member method code with example usage: obj.test_logical_operators_int_dtype_with_int_scalar() without return types