diff options
author | Éric Araujo <merwok@netwok.org> | 2011-06-04 20:33:16 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-06-04 20:33:16 (GMT) |
commit | 2ef747cb778a45ec7eb96f5ba5f725bbf53e970c (patch) | |
tree | b0694504eee386e465bf832cb64fc13755a853d5 /Lib/packaging/tests/test_uninstall.py | |
parent | 35a4d01a927a9ad0a774eec6a9ee1b728279c5b6 (diff) | |
download | cpython-2ef747cb778a45ec7eb96f5ba5f725bbf53e970c.zip cpython-2ef747cb778a45ec7eb96f5ba5f725bbf53e970c.tar.gz cpython-2ef747cb778a45ec7eb96f5ba5f725bbf53e970c.tar.bz2 |
Cleanup in packaging: don’t unnecessarily instantiate exceptions
Diffstat (limited to 'Lib/packaging/tests/test_uninstall.py')
-rw-r--r-- | Lib/packaging/tests/test_uninstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_uninstall.py b/Lib/packaging/tests/test_uninstall.py index 4b37286..00e97e4 100644 --- a/Lib/packaging/tests/test_uninstall.py +++ b/Lib/packaging/tests/test_uninstall.py @@ -111,7 +111,7 @@ class UninstallTestCase(support.TempdirManager, old = os.rename def _rename(source, target): - raise OSError() + raise OSError os.rename = _rename try: |