code: def test_pandas_priority():
      # GH#48347
  
      class MyClass:
          __pandas_priority__ = 5000
  
          def __radd__(self, other):
              return self
  
      left = MyClass()
      right = Series(range(3))
  
      assert right.__add__(left) is NotImplemented
      assert right + left is left
  
imports: import array
  from functools import partial
  import subprocess
  import sys
  import numpy
  import pytest
  from pandas.errors import IntCastingNaNError
  import pandas
  from pandas import DataFrame, DatetimeIndex, Series, TimedeltaIndex
  import pandas._testing
  from pandas.core.arrays import DatetimeArray, TimedeltaArray
label_desc: Use image node_id 17 for calling a global function with example usage: test_pandas_priority() and returns: self