diff options
Diffstat (limited to 'test_six.py')
-rw-r--r-- | test_six.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_six.py b/test_six.py index 060a966..3e57f49 100644 --- a/test_six.py +++ b/test_six.py @@ -511,7 +511,7 @@ def test_unichr(): def test_int2byte(): assert six.int2byte(3) == six.b("\x03") - py.test.raises((OverflowError, ValueError), six.int2byte, 256) + py.test.raises(Exception, six.int2byte, 256) def test_byte2int(): |