Skip to content

Commit

Permalink
Remove warning when running tests in debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
trumully committed Sep 11, 2024
1 parent d24aae2 commit d4ac0c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
"-n",
"logical",
],
"console": "integratedTerminal"
"console": "integratedTerminal",
"justMyCode": true,
"env": {
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
}
}
]
}
2 changes: 2 additions & 0 deletions tests/utils/test_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,5 @@ def test_human_timedelta_properties(
assert not brief
elif short in split_result:
assert brief

assert not (long in split_result and short in split_result)

0 comments on commit d4ac0c6

Please sign in to comment.