old_contents: import glob, os.path, sys
  
  # Add path to hiredis.so load path
  path = glob.glob("build/lib*/hiredis/*.so")[0]
  sys.path.insert(0, os.path.dirname(path))
  
  from unittest import *
  from . import reader
  
  def tests():
    suite = TestSuite()
    suite.addTest(makeSuite(reader.ReaderTest))
    return suite
  
new_contents: import glob, os.path, sys
  
  version = sys.version.split(" ")[0]
  majorminor = version[0:3]
  
  # Add path to hiredis.so load path
  path = glob.glob("build/lib*-%s/hiredis/*.so" % majorminor)[0]
  sys.path.insert(0, os.path.dirname(path))
  
  from unittest import *
  from . import reader
  
  def tests():
    suite = TestSuite()
    suite.addTest(makeSuite(reader.ReaderTest))
    return suite
  
subject: Add versioned path for dynamic library lookup