Skip to content

[vscode-pytest]: unsupported operand type(s) for +=: 'int' and 'NoneType' #25792

@basictheprogram

Description

@basictheprogram

Type: Bug

Behaviour

src/judgingportal/tests/management/test_import_judge_experience.py Plugin error, exception thrown while attempting to send data[vscode-pytest]: unsupported operand type(s) for +=: 'int' and 'NoneType' [vscode-pytest] data: {"jsonrpc": "2.0", "params": {"cwd": "/workspaces/judging-portal", "status": "success", "result": {"/workspaces/judging-portal/src/judgingportal/tests/management/test_import_judge_experience.py::TestImportingJudgeExperience::test_valid_import": {"test": "/workspaces/judging-portal/src/judgingportal/tests/management/test_import_judge_experience.py::TestImportingJudgeExperience::test_valid_import", "outcome": "success", "message": null, "traceback": null, "subtest": null}}, "not_found": null, "error": null}}

Steps to reproduce:

  1. Click Testing charm
  2. Run and test (that worked on 1.109)

Diagnostic data

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Extension version: 2026.0.0
VS Code version: Code 1.109.2 (591199df409fbf59b4b52d5ad4ee0470152a9b31, 2026-02-10T20:18:23.520Z)
OS version: Darwin arm64 24.6.0
Modes:
Remote OS version: Linux arm64 6.12.67-linuxkit
Remote OS version: Linux arm64 6.12.67-linuxkit
Remote OS version: Linux arm64 6.12.67-linuxkit

System Info
Item Value
CPUs Apple M1 Max (10 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M1 Max, Version 15.7.3 (Build 24G419))], DRIVER_VENDOR=Apple, DRIVER_VERSION=15.7.3 ACTIVE
Machine model name: MacBookPro
Machine model version: 18.2
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 14, 14, 16
Memory (System) 64.00GB (0.08GB free)
Process Argv --crash-reporter-id b13dd931-c2c6-4083-ab16-9836c66fadfd
Screen Reader no
VM 0%
Item Value
Remote Dev Container: real-time.com Ansible Playbooks @ desktop-linux
OS Linux arm64 6.12.67-linuxkit
CPUs unknown (10 x 0)
Memory (System) 7.75GB (0.55GB free)
VM 0%
Item Value
Remote Dev Container: comap.com Judging Portal @ desktop-linux
OS Linux arm64 6.12.67-linuxkit
CPUs unknown (10 x 0)
Memory (System) 7.75GB (0.55GB free)
VM 0%
Item Value
Remote Dev Container: comap.com Contest Portal @ desktop-linux
OS Linux arm64 6.12.67-linuxkit
CPUs unknown (10 x 0)
Memory (System) 7.75GB (0.55GB free)
VM 0%
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31436602
aj953862:31281341
6abeh943:31336334
envsactivate1:31353494
cloudbuttont:31379625
3efgi100_wstrepl:31403338
use-responses-api:31390855
anonusage:31403420
je187915:31401257
ec5jj548:31422691
cmp-ext-treat:31426748
cp_cls_t_966_ss:31454198
ge8j1254_inline_auto_hint_haiku:31431912
nes-autoexp-10:31446583
a5gib710:31434435
2984c849_gpt52_codex:31457542
rename_enabled:31436409
7a04d226_do_not_restore_last_panel_session:31438103
anthropic_thinking_t:31457101
722j7530_gpt_5_2_codex:31458091
preserve_tokens:31444547
cp_cls_c_1081:31454833
copilot-nes-oct-trt:31432596
ia-use-proxy-models-svc:31452481
nes-slash-models-on:31441832
nes-set-to-on:31441941
a43f0576c:31442824
e9c30283:31461165
c0ci8992_validated:31449878
edit_mode_hidden:31459179
864ei723_large_tool_results_to_disk:31460878
reg-2ge67640:31455970
nes-extended-on:31455476
chat:31457767
ah:31460422

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-neededNeeds assignment to the proper sub-team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions