New issue 2168: ValueError: binary mode doesn't take an errors argument
https://bitbucket.org/pypy/pypy/issues/2168/valueerror-binary-mode-doesnt-take-an

falsetru:

ValueError message mismatch.

In CPython 2.7:

```
#!python
>>> import io
>>> io.open('/tmp/test.txt', 'wb', encoding='utf-8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: binary mode doesn't take an encoding argument

```

In Pypy 2.6.1:

```
#!python
>>>> import io
>>>> io.open('/tmp/test.txt', 'wb', encoding='utf-8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: binary mode doesn't take an errors argument

```



_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to