Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7a3556

Browse files
[BUG FIX] Incomplete asserts are fixed (#261)
TestStartupData__Helper::CalcCurrentTestWorkerSignature is updatedIt is a debug level mistake.
1 parentec0b8e9 commite7a3556

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/conftest.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ def CalcRootLogDir() -> str:
6464
# --------------------------------------------------------------------
6565
defCalcCurrentTestWorkerSignature()->str:
6666
currentPID=os.getpid()
67-
asserttype(currentPID)
67+
asserttype(currentPID)==int# noqa: E721
6868

6969
startTS=__class__.sm_StartTS
70-
asserttype(startTS)
70+
asserttype(startTS)==datetime.datetime# noqa: E721
7171

7272
result="pytest-{0:04d}{1:02d}{2:02d}_{3:02d}{4:02d}{5:02d}".format(
7373
startTS.year,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp