summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-18 21:14:22 +0200
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-18 21:14:22 +0200
commitc24868ba84f1b66d88d6b1f5a3f9190bcd2ca5c5 (patch)
tree21dc4016684093fdbf9d268c174dd74355971e72
parent1bf87508cedffb239eb377928351b7d130a59e6c (diff)
downloadpython-setuptools-git-c24868ba84f1b66d88d6b1f5a3f9190bcd2ca5c5.tar.gz
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
-rw-r--r--tests/test_msvc9compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_msvc9compiler.py b/tests/test_msvc9compiler.py
index 5fa1ca10..301d43d2 100644
--- a/tests/test_msvc9compiler.py
+++ b/tests/test_msvc9compiler.py
@@ -104,7 +104,7 @@ class msvc9compilerTestCase(support.TempdirManager,
unittest.TestCase):
def test_no_compiler(self):
- # makes sure query_vcvarsall throws
+ # makes sure query_vcvarsall raises
# a DistutilsPlatformError if the compiler
# is not found
from distutils.msvc9compiler import query_vcvarsall