aboutsummaryrefslogtreecommitdiff
path: root/test_ipaddress.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-02-03 23:51:32 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-02-03 23:51:32 +0100
commit73d3b810d625258323d076e37d4b706d3e78e86c (patch)
tree3dc7a3421048cdfd5faf1d0d41ee537c45c3e58c /test_ipaddress.py
parentf61297a229f9743c5db701944c3505a6a5cc49bd (diff)
downloadipaddress-73d3b810d625258323d076e37d4b706d3e78e86c.tar.gz
Silence a test
Diffstat (limited to 'test_ipaddress.py')
-rw-r--r--test_ipaddress.py3
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):