summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_uninstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/tests/test_uninstall.py')
-rw-r--r--Lib/packaging/tests/test_uninstall.py2
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: