From: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: Ensure that tests work post-installation
--- python-gffutils.orig/gffutils/test/test.py
+++ python-gffutils/gffutils/test/test.py
@@ -621,6 +621,7 @@
 
     # Serving test/data folder
     served_folder = gffutils.example_filename('')
+    savedir = os.getcwd()
     os.chdir(served_folder)
 
     print("Starting SimpleHTTPServer in thread")
@@ -654,6 +655,7 @@
         print('Server shutdown.')
         httpd.shutdown()
         server_thread.join()
+        os.chdir(savedir)
 
 
 def test_empty_files():
