]> git.phdru.name Git - ppu.git/blobdiff - tests/test_cmp.py
Refactor(tests): Exit with "name not found in PATH" in find_in_path
[ppu.git] / tests / test_cmp.py
index 24dfd5fc8665f91c5feb424b6a36e15be260d4a7..efdd43ae6dc24af4a4200f815f074bd1b8ead49c 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('cmp.py')
-if not test_prog_path:
-    sys.exit("Cannot find cmp.py in %s" % os.environ["PATH"])
 
 
 def create_file(name, content):