Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0b8e9 commit e7a3556Copy full SHA for e7a3556
tests/conftest.py
@@ -64,10 +64,10 @@ def CalcRootLogDir() -> str:
64
# --------------------------------------------------------------------
65
def CalcCurrentTestWorkerSignature() -> str:
66
currentPID = os.getpid()
67
- assert type(currentPID)
+ assert type(currentPID) == int # noqa: E721
68
69
startTS = __class__.sm_StartTS
70
- assert type(startTS)
+ assert type(startTS) == datetime.datetime # noqa: E721
71
72
result = "pytest-{0:04d}{1:02d}{2:02d}_{3:02d}{4:02d}{5:02d}".format(
73
startTS.year,
0 commit comments