diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:29:45 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:37:08 +1300 |
commit | a647b30365593a4a3056fcf6936f5441ab9eda88 (patch) | |
tree | 079b18790be5dfcc9a88f19e282b57088574d223 /netlib/tutils.py | |
parent | fb22f2ff4f75783ba786935c93b75f372ede21f5 (diff) | |
download | mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.gz mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.bz2 mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.zip |
python3: clean up class brackets
Diffstat (limited to 'netlib/tutils.py')
-rw-r--r-- | netlib/tutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/tutils.py b/netlib/tutils.py index 3fbe58b9..d22fdd1c 100644 --- a/netlib/tutils.py +++ b/netlib/tutils.py @@ -72,7 +72,7 @@ def raises(expected_exception, obj=None, *args, **kwargs): raise AssertionError("No exception raised. Return value: {}".format(ret)) -class RaisesContext(): +class RaisesContext: def __init__(self, expected_exception): self.expected_exception = expected_exception |