]> git.phdru.name Git - ppu.git/blobdiff - tests/test_which.py
Refactor(tests): Exit with "name not found in PATH" in find_in_path
[ppu.git] / tests / test_which.py
index b65a832eb57c1eb380789435a456e8550163a417..3c5f85583a83931e3a8011885e8d3ffbcbcc4996 100755 (executable)
@@ -1,14 +1,11 @@
 #! /usr/bin/env python
 
-import os
 import subprocess
 import sys
 from ppu_tu import setup, teardown, find_in_path  # noqa
 
 
 test_prog_path = find_in_path('which.py')
-if not test_prog_path:
-    sys.exit("Cannot find which.py in %s" % os.environ["PATH"])
 
 
 def test_which():