aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_unittests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/run_unittests.py b/run_unittests.py
index fa652a9..204fbfe 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2060,10 +2060,8 @@ recommended as it can lead to undefined behaviour on some platforms''')
raise Exception('Missing {} value?'.format(arg))
def test_same_dash_option_twice_configure(self):
- with self.assertRaises(subprocess.CalledProcessError) as e:
- self._test_same_option_twice_configure(
- 'bindir', ['--bindir=foo', '--bindir=bar'])
- self.assertIn('Pick one.', e.stderr)
+ self._test_same_option_twice_configure(
+ 'bindir', ['--bindir=foo', '--bindir=bar'])
def test_same_d_option_twice_configure(self):
self._test_same_option_twice_configure(