old_contents: import os
  import sys
  
  import pytest
  
  from msl import loadlib
  
  
  @pytest.fixture(autouse=True)
  def doctest_skipif(doctest_namespace):
  
      if loadlib.IS_PYTHON2:
          py2 = lambda: pytest.skip('requires Python 3')
      else:
          py2 = lambda: None
  
      if sys.version_info[:2] < (3, 6):
          less_36 = lambda: pytest.skip('ignore Python <3.6 since dict does not preserve insertion order')
      else:
          less_36 = lambda: None
  
      if not loadlib.IS_WINDOWS:
          not_windows = lambda: pytest.skip('operating system is not Windows')
      else:
          not_windows = lambda: None
  
      if loadlib.IS_MAC:
          is_mac = lambda: pytest.skip('operating system is macOS')
      else:
          is_mac = lambda: None
  
      if loadlib.IS_PYTHON_64BIT:
          bit64 = lambda: pytest.skip('requires 32-bit Python')
          bit32 = lambda: None
      else:
          bit64 = lambda: None
          bit32 = lambda: pytest.skip('requires 64-bit Python')
  
      if not os.path.isdir(r'C:\Program Files\National Instruments\Shared\LabVIEW Run-Time'):
          no_labview64 = lambda: pytest.skip('requires a 64-bit LabVIEW runtime')
      else:
          no_labview64 = lambda: None
  
      no_labview32 = lambda: pytest.skip('requires a 32-bit LabVIEW runtime -- not even checking if installed')
  
      doctest_namespace['SKIP_IF_PYTHON_2'] = py2
      doctest_namespace['SKIP_IF_PYTHON_LESS_THAN_3_6'] = less_36
      doctest_namespace['SKIP_IF_NOT_WINDOWS'] = not_windows
      doctest_namespace['SKIP_IF_MACOS'] = is_mac
      doctest_namespace['SKIP_IF_64BIT'] = bit64
      doctest_namespace['SKIP_IF_32BIT'] = bit32
      doctest_namespace['SKIP_IF_LABVIEW64_NOT_INSTALLED'] = no_labview64
      doctest_namespace['SKIP_LABVIEW32'] = no_labview32
  
new_contents: import os
  import sys
  
  import pytest
  
  from msl import loadlib
  
  
  @pytest.fixture(autouse=True)
  def doctest_skipif(doctest_namespace):
  
      if loadlib.IS_PYTHON2:
          py2 = lambda: pytest.skip('requires Python 3')
      else:
          py2 = lambda: None
  
      if sys.version_info[:2] < (3, 6):
          less_36 = lambda: pytest.skip('ignore Python <3.6 since dict does not preserve insertion order')
      else:
          less_36 = lambda: None
  
      if not loadlib.IS_WINDOWS:
          not_windows = lambda: pytest.skip('operating system is not Windows')
      else:
          not_windows = lambda: None
  
      if loadlib.IS_MAC:
          is_mac = lambda: pytest.skip('operating system is macOS')
      else:
          is_mac = lambda: None
  
      if loadlib.IS_PYTHON_64BIT:
          bit64 = lambda: pytest.skip('requires 32-bit Python')
          bit32 = lambda: None
      else:
          bit64 = lambda: None
          bit32 = lambda: pytest.skip('requires 64-bit Python')
  
      if not os.path.isdir(r'C:\Program Files\National Instruments\Shared\LabVIEW Run-Time'):
          no_labview64 = lambda: pytest.skip('requires 64-bit LabVIEW runtime')
      else:
          no_labview64 = lambda: None
  
      no_labview32 = lambda: pytest.skip('requires 32-bit LabVIEW runtime -- not even checking if installed')
  
      doctest_namespace['SKIP_IF_PYTHON_2'] = py2
      doctest_namespace['SKIP_IF_PYTHON_LESS_THAN_3_6'] = less_36
      doctest_namespace['SKIP_IF_NOT_WINDOWS'] = not_windows
      doctest_namespace['SKIP_IF_MACOS'] = is_mac
      doctest_namespace['SKIP_IF_64BIT'] = bit64
      doctest_namespace['SKIP_IF_32BIT'] = bit32
      doctest_namespace['SKIP_IF_LABVIEW64_NOT_INSTALLED'] = no_labview64
      doctest_namespace['SKIP_LABVIEW32'] = no_labview32
  
subject: edit reason for pytest.skip