code: def test_align_periodindex(join_type):
      rng = period_range("1/1/2000", "1/1/2010", freq="Y")
      ts = Series(
          np.random.default_rng(2).standard_normal(len(rng)), index=rng
      )
  
      # TODO: assert something?
      ts.align(ts[::2], join=join_type)
  
file_path: pandas/pandas/tests/series/methods/test_align.py
imports: from datetime import timezone
  import numpy
  import pytest
  import pandas
  from pandas import Series, date_range, period_range
  import pandas._testing
label_desc: Use image node_id 8 for calling a global function with example usage: test_align_periodindex(join_type) without return types