Skip to content

Commit bbe62c1

Browse files
committed
Revert 921d522
1 parent c9228de commit bbe62c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/testdir/test87.ok

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -658,10 +658,10 @@ assert sys.stderr.closed()==False:NOT FAILED
658658
assert sys.stdout.errors=="strict":NOT FAILED
659659
assert sys.stderr.errors=="strict":NOT FAILED
660660
assert sys.stdout.encoding==sys.stderr.encoding:NOT FAILED
661-
sys.stdout.write(None):(<class 'TypeError'>, TypeError('argument must be str, bytes or bytearray, not None',))
661+
sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",))
662662
>> OutputWriteLines
663663
sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",))
664-
sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError('argument must be str, bytes or bytearray, not int',))
664+
sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError("Can't convert 'int' object to str implicitly",))
665665
>>> Testing *Iter* using sys.stdout.writelines(%s)
666666
sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError('iter',))
667667
sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',))
@@ -700,8 +700,8 @@ vim.foreach_rtp(NoArgsCall()):(<class 'TypeError'>, TypeError('__call__() takes
700700
vim.foreach_rtp(FailingCall()):(<class 'NotImplementedError'>, NotImplementedError('call',))
701701
vim.foreach_rtp(int, 2):(<class 'TypeError'>, TypeError('foreach_rtp() takes exactly one argument (2 given)',))
702702
> import
703-
import xxx_no_such_module_xxx:(<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'xxx_no_such_module_xxx'",))
704-
import failing_import:(<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'failing_import'",))
703+
import xxx_no_such_module_xxx:(<class 'ImportError'>, ImportError('No module named xxx_no_such_module_xxx',))
704+
import failing_import:(<class 'ImportError'>, ImportError('No module named failing_import',))
705705
import failing:(<class 'NotImplementedError'>, NotImplementedError())
706706
> Options
707707
>> OptionsItem

0 commit comments

Comments
 (0)