Commit deef94e9 authored by multrus's avatar multrus
Browse files

improve error message

parent b3094dfb
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -137,8 +137,8 @@ def create_error_pattern(
        tmp_sta_file_test = tmp_dir_test.joinpath("sta")
        gen_patt(100, "ep.g192", 5, working_dir=tmp_dir_test)
        if not tmp_sta_file_test.exists():
            raise FileNotFoundError(
                "A non-working version of gen-patt was detected. Replace it with a bug-free version."
            raise RuntimeError(
                "Used version of gen-patt was detected to be faulty (unable to write \"sta\"-file). See bin/README.md for details."
            )

    with TemporaryDirectory() as tmp_dir: