Skip to content

Commit d9b1f44

Browse files
author
hauntsaninja
committed
update pathlib tests
1 parent f4c489e commit d9b1f44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-data/unit/pythoneval.test

+3-3
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,9 @@ reveal_type(p.open('rb'))
305305
mode = 'rb'
306306
reveal_type(p.open(mode))
307307
[out]
308-
_program.py:3: note: Revealed type is 'typing.TextIO'
309-
_program.py:4: note: Revealed type is 'typing.TextIO'
310-
_program.py:5: note: Revealed type is 'typing.BinaryIO'
308+
_program.py:3: note: Revealed type is 'io.TextIOWrapper'
309+
_program.py:4: note: Revealed type is 'io.TextIOWrapper'
310+
_program.py:5: note: Revealed type is 'io.BufferedReader'
311311
_program.py:7: note: Revealed type is 'typing.IO[Any]'
312312

313313
[case testPathOpenReturnTypeInferenceSpecialCases]

0 commit comments

Comments
 (0)