diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-01 04:00:05 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-01 04:00:05 +0000 |
commit | bcb26c53c095c7bcd0e5415088e25dbd27f12592 (patch) | |
tree | 35240e335dd91a385c13935ddc64b33d9c17a8ad /Lib/importlib/test/frozen/support.py | |
parent | ae9ad186d058c5700d0692e2f3b026e95639f5cf (diff) | |
download | cpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.tar.gz cpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.zip |
Rename importlib.test.support to importlib.test.util.
Diffstat (limited to 'Lib/importlib/test/frozen/support.py')
-rw-r--r-- | Lib/importlib/test/frozen/support.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Lib/importlib/test/frozen/support.py b/Lib/importlib/test/frozen/support.py deleted file mode 100644 index e08b89e33b3..00000000000 --- a/Lib/importlib/test/frozen/support.py +++ /dev/null @@ -1,24 +0,0 @@ -import sys - - -class Null: - - """Just absorb what is given.""" - - def __getattr__(self): - return lambda *args, **kwargs: None - - -class SilenceStdout: - - """Silence sys.stdout.""" - - def setUp(self): - """Substitute sys.stdout with something that does not print to the - screen thanks to what bytecode is frozen.""" - sys.stdout = Null() - super().setUp() - - def tearDown(self): - sys.stdout = sys.__stdout__ - super().tearDown() |