aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2018-06-17 08:45:03 +0200
committerGitHub <noreply@github.com>2018-06-17 08:45:03 +0200
commit3cd37652709292cffa1bc733134cef5483489341 (patch)
treec3ec7c89f398088779fd9bef14061f5b782f8577 /test
parent9ff4f55614eee729aede5aa45bca63026145b8ae (diff)
parent77b49aa8de7ce6695b31b7d6dd4e0b62e766a504 (diff)
downloadmitmproxy-3cd37652709292cffa1bc733134cef5483489341.tar.gz
mitmproxy-3cd37652709292cffa1bc733134cef5483489341.tar.bz2
mitmproxy-3cd37652709292cffa1bc733134cef5483489341.zip
Merge pull request #3211 from cortesi/tcheck
Add typechecking of Any values for state object
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_stateobject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/test_stateobject.py b/test/mitmproxy/test_stateobject.py
index a642e023..a2df57fc 100644
--- a/test/mitmproxy/test_stateobject.py
+++ b/test/mitmproxy/test_stateobject.py
@@ -125,7 +125,7 @@ def test_any():
assert a.x == b.x
a = TAny(object())
- with pytest.raises(AssertionError):
+ with pytest.raises(ValueError):
a.get_state()