Skip to content

Commit

Permalink
remove weird taskName
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Dec 17, 2024
1 parent 3992934 commit d5574ad
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ def test_emit():
"__metadata_version__": 1,
"something": "blah",
}
if sys.version_info >= (3, 12):
expected["taskName"] = None
assert event_capsule == expected


Expand Down Expand Up @@ -214,8 +212,6 @@ def test_message_field():
"something": "blah",
"message": "a message was seen",
}
if sys.version_info >= (3, 12):
expected["taskName"] = None
assert event_capsule == expected


Expand Down Expand Up @@ -263,8 +259,6 @@ def test_nested_message_field():
"__metadata_version__": 1,
"thing": {"message": "a nested message was seen"},
}
if sys.version_info >= (3, 12):
expected["taskName"] = None
assert event_capsule == expected


Expand Down Expand Up @@ -428,8 +422,6 @@ def test_unique_logger_instances():
"__metadata_version__": 1,
"something": "blah",
}
if sys.version_info >= (3, 12):
expected["taskName"] = None
assert event_capsule0 == expected

event_capsule1 = json.loads(output1.getvalue())
Expand All @@ -443,8 +435,6 @@ def test_unique_logger_instances():
"__metadata_version__": 1,
"something": "blah",
}
if sys.version_info >= (3, 12):
expected["taskName"] = None
assert event_capsule1 == expected


Expand Down

0 comments on commit d5574ad

Please sign in to comment.