diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-02-03 23:51:32 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-02-03 23:51:32 +0100 |
commit | 73d3b810d625258323d076e37d4b706d3e78e86c (patch) | |
tree | 3dc7a3421048cdfd5faf1d0d41ee537c45c3e58c /test_ipaddress.py | |
parent | f61297a229f9743c5db701944c3505a6a5cc49bd (diff) | |
download | ipaddress-73d3b810d625258323d076e37d4b706d3e78e86c.tar.gz |
Silence a test
Diffstat (limited to 'test_ipaddress.py')
-rw-r--r-- | test_ipaddress.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test_ipaddress.py b/test_ipaddress.py index 7af274f..aa53b27 100644 --- a/test_ipaddress.py +++ b/test_ipaddress.py @@ -75,7 +75,8 @@ class CommonTestMixin: # bytes constructor. Thus, we disallow implicit use as an integer self.assertRaises(TypeError, operator.index, self.factory(1)) self.assertRaises(TypeError, hex, self.factory(1)) - self.assertRaises(TypeError, bytes, self.factory(1)) + # Commented out: bytes semantics are different in 2.x + # self.assertRaises(TypeError, bytes, self.factory(1)) class CommonTestMixin_v4(CommonTestMixin): |