File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 44
44
pip check
45
45
- name : Run the tests
46
46
run : |
47
- pytest -vv
47
+ # Disable capturing (-s) output from Pytest on Windows.
48
+ # For an unknown reason, capturing output interferes with
49
+ # the file descriptions opened by the asyncio IOLoop.
50
+ # This leads to a nasty, flaky race condition that we haven't
51
+ # been able to solve.
52
+ pytest -vv -s
48
53
- name : Install the Python dependencies for the examples
49
54
run : |
50
55
cd examples/simple && pip install -e .
Original file line number Diff line number Diff line change @@ -228,11 +228,12 @@ def _resolve_classes(self):
228
228
self .importable_klasses = []
229
229
for klass in self .klasses :
230
230
if isinstance (klass , str ):
231
+ # Try importing the classes to compare. Silently, ignore if not importable.
231
232
try :
232
233
klass = self ._resolve_string (klass )
233
234
self .importable_klasses .append (klass )
234
235
except :
235
- warn ( f" { klass } is not importable. Is it installed?" , ImportWarning )
236
+ pass
236
237
else :
237
238
self .importable_klasses .append (klass )
238
239
@@ -328,11 +329,12 @@ def _resolve_classes(self):
328
329
self .importable_klasses = []
329
330
for klass in self .klasses :
330
331
if isinstance (klass , str ):
332
+ # Try importing the classes to compare. Silently, ignore if not importable.
331
333
try :
332
334
klass = self ._resolve_string (klass )
333
335
self .importable_klasses .append (klass )
334
336
except :
335
- warn ( f" { klass } is not importable. Is it installed?" , ImportWarning )
337
+ pass
336
338
else :
337
339
self .importable_klasses .append (klass )
338
340
You can’t perform that action at this time.
0 commit comments