From 037b3a4f23efac7bc0c2d7d5d20d891fd9c5cdfc Mon Sep 17 00:00:00 2001
From: ulif <uli@gnufix.de>
Date: Sun, 1 May 2016 13:18:13 +0200
Subject: [PATCH] pep8.

The removed vars were not really used in tests.
---
 tests/test_diceware.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/test_diceware.py b/tests/test_diceware.py
index 2bf13fd..c52dd90 100644
--- a/tests/test_diceware.py
+++ b/tests/test_diceware.py
@@ -71,10 +71,10 @@ class TestHandleOptions(object):
 
     def test_handle_options_caps_conflicting_raises_exc(self):
         # conflicting caps-settings raise an exception
-        with pytest.raises(SystemExit) as exc_info:
-            options = handle_options(['--caps', '--no-caps'])
-        with pytest.raises(SystemExit) as exc_info:
-            options = handle_options(['--no-caps', '--caps'])
+        with pytest.raises(SystemExit):
+            handle_options(['--caps', '--no-caps'])
+        with pytest.raises(SystemExit):
+            handle_options(['--no-caps', '--caps'])
 
     def test_handle_options_delimiter(self):
         # we can set delimiter
-- 
GitLab