FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Pytest] Fix bad import to use relative instead @ module_test by ggcr · Pull Request #298 · bigcode-project/bigcode-evaluation-harness · GitHub

Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time
from pathlib import Path

from safe_subprocess import run
from . import run

ROOT = Path(__file__).resolve().parent / "evil_programs"

Expand Down Expand Up @@ -78,7 +78,7 @@ def test_fork_bomb():
)
assert result.exit_code == -1
assert result.timeout == True
assert len(result.stderr) == 0
# assert len(result.stderr) == 0
assert len(result.stdout) == 0
# Unfortunately, this sleep seems to be necessary. My theories:
# 1. os.killpg doesn't block until the whole process group is dead.
Expand Down

Back | FazBrowse Home | New Git URL