Skip to content

Commit 344e123

Browse files
Merge pull request RustPython#1240 from mpajkowski/ppid_fix
Remove assert os.getppid() < os.getpid()
2 parents 752ac1d + 94468f5 commit 344e123

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/snippets/stdlib_os.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,6 @@ def __exit__(self, exc_type, exc_val, exc_tb):
266266
assert isinstance(os.getppid(), int)
267267
assert isinstance(os.getpgid(os.getpid()), int)
268268

269-
assert os.getppid() < os.getpid()
270-
271269
if os.getuid() != 0:
272270
assert_raises(PermissionError, lambda: os.setgid(42))
273271
assert_raises(PermissionError, lambda: os.setegid(42))

0 commit comments

Comments
 (0)