Skip to content

Update tracecontext tests #4105

@xrmx

Description

@xrmx

Describe your environment

OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.8.10)
SDK version: (e.g., 1.25.0)
API version: (e.g., 1.25.0)

What happened?

Tracecontext tests have the following warning and we are using a version from 2019. It would be nice to try to update it to a more recent version to avoid warnings and get other improvements done over the years.

opentelemetry-python/target/trace-context/test/tracecontext/tracestate.py:68: SyntaxWarning: "is" with a literal. Did you mean "=="?

Steps to Reproduce

tracecontext job in CI, see scripts/tracecontext-integration-test.sh

Expected Result

No warning

Actual Result

A warning

Additional context

No response

Would you like to implement a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood first issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions