Skip to content

Commit fa538f8

Browse files
authored
Self check fixes (#9494)
The change to mypy.test.data is needed to work with the latest version of pytest.
1 parent 0b4a2c9 commit fa538f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mypy/test/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def repr_failure(self, excinfo: Any, style: Optional[Any] = None) -> str:
269269
# call exit() and they already print out a stack trace.
270270
excrepr = excinfo.exconly()
271271
else:
272-
self.parent._prunetraceback(excinfo) # type: ignore[no-untyped-call]
272+
self.parent._prunetraceback(excinfo)
273273
excrepr = excinfo.getrepr(style='short')
274274

275275
return "data: {}:{}:\n{}".format(self.file, self.line, excrepr)

mypyc/lib-rt/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
kwargs = {'language': 'c++'}
1111
compile_args = []
1212
else:
13-
kwargs = {}
13+
kwargs = {} # type: ignore
1414
compile_args = ['--std=c++11']
1515

1616
setup(name='test_capi',

0 commit comments

Comments
 (0)