code: def test_compare_datetime_with_all_none():
      # GH#54870
      ser = Series(["2020-01-01", "2020-01-02"], dtype="datetime64[ns]")
      ser2 = Series([None, None])
      result = ser > ser2
      expected = Series([False, False])
      tm.assert_series_equal(result, expected)
  
imports: from datetime import datetime, timedelta
  import re
  from dateutil.tz import gettz, tzutc
  import numpy
  import pytest
  import pytz
  from pandas._libs import index
  import pandas
  from pandas import DataFrame, Series, Timestamp, date_range, period_range
  import pandas._testing
label_desc: Use image node_id 16 for calling a global function with example usage: test_compare_datetime_with_all_none() without return types