Skip to content

Commit 94468f5

Browse files
author
Marcin Pajkowski
committed
Remove assert os.getppid() < os.getpid()
1 parent 752ac1d commit 94468f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)