Deprecate os.popen* and popen2 module in favor of the subprocess module.

This commit is contained in:
Neal Norwitz 2007-05-11 06:57:33 +00:00
parent 82be218e97
commit 42dd86b8e2
9 changed files with 69 additions and 30 deletions

View file

@ -1,6 +1,12 @@
#! /usr/bin/env python
"""Test script for popen2.py"""
import warnings
warnings.filterwarnings("ignore", ".*popen2 module is deprecated.*",
DeprecationWarning)
warnings.filterwarnings("ignore", "os\.popen. is deprecated.*",
DeprecationWarning)
import os
import sys
import unittest