diff --git a/tests/integration/states/pip.py b/tests/integration/states/pip.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/pip.py
+++ b/tests/integration/states/pip.py
@@ -18,6 +18,7 @@ from salttesting import skipIf
 from salttesting.helpers import (
     destructiveTest,
     ensure_in_syspath,
+    requires_system_grains,
     with_system_user
 )
 ensure_in_syspath('../../')
@@ -63,7 +64,12 @@ class PipStateTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
             if os.path.isdir(venv_dir):
                 shutil.rmtree(venv_dir)
 
-    def test_pip_installed_weird_install(self):
+    @requires_system_grains
+    def test_pip_installed_weird_install(self, grains=None):
+        # First, check to see if this is running on CentOS 5. If so, skip this test.
+        if grains['os'] in ('CentOS',) and grains['osrelease_info'][0] in (5,):
+            self.skipTest('This test does not run reliably on CentOS 5')
+
         ographite = '/opt/graphite'
         if os.path.isdir(ographite):
             self.skipTest(
Cleaner and actual fix for the failing weird pip test for CentOS 5