diff --git a/tests/get-with-headers.py b/tests/get-with-headers.py
index a327a24acfea762116a11214fc211b997f5822e0_dGVzdHMvZ2V0LXdpdGgtaGVhZGVycy5weQ==..8e86679d8acd6e2e36d06a749a8fcc99494dfb08_dGVzdHMvZ2V0LXdpdGgtaGVhZGVycy5weQ== 100755
--- a/tests/get-with-headers.py
+++ b/tests/get-with-headers.py
@@ -3,6 +3,11 @@
 """This does HTTP GET requests given a host:port and path and returns
 a subset of the headers plus the body of the result."""
 
-import httplib, sys
+from __future__ import absolute_import
+
+import httplib
+import json
+import os
+import sys
 
 try:
@@ -7,14 +12,6 @@
 
 try:
-    import json
-except ImportError:
-    try:
-        import simplejson as json
-    except ImportError:
-        json = None
-
-try:
-    import msvcrt, os
+    import msvcrt
     msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
     msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)
 except ImportError:
@@ -58,11 +55,6 @@
         # Pretty print JSON. This also has the beneficial side-effect
         # of verifying emitted JSON is well-formed.
         if formatjson:
-            if not json:
-                print 'no json module not available'
-                print 'did you forget a #require json?'
-                sys.exit(1)
-
             # json.dumps() will print trailing newlines. Eliminate them
             # to make tests easier to write.
             data = json.loads(data)
diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t
index a327a24acfea762116a11214fc211b997f5822e0_dGVzdHMvdGVzdC1jaGVjay1weTMtY29tcGF0LnQ=..8e86679d8acd6e2e36d06a749a8fcc99494dfb08_dGVzdHMvdGVzdC1jaGVjay1weTMtY29tcGF0LnQ= 100644
--- a/tests/test-check-py3-compat.t
+++ b/tests/test-check-py3-compat.t
@@ -145,7 +145,6 @@
   setup.py not using absolute_import
   tests/filterpyflakes.py requires print_function
   tests/generate-working-copy-states.py requires print_function
-  tests/get-with-headers.py not using absolute_import
   tests/get-with-headers.py requires print_function
   tests/heredoctest.py not using absolute_import
   tests/heredoctest.py requires print_function