Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cached tzinfo conflict in tests #73

Open
rsb-23 opened this issue Oct 18, 2024 · 1 comment · May be fixed by #74
Open

Cached tzinfo conflict in tests #73

rsb-23 opened this issue Oct 18, 2024 · 1 comment · May be fixed by #74

Comments

@rsb-23
Copy link

rsb-23 commented Oct 18, 2024

Issue

Unit tests fail if we change the name of class as below:

class TestIcalendar(unittest.TestCase):
class TestAIcalendar(unittest.TestCase):

Reason

def test_pytz_timezone_serializing is changing the tzinfo for other tests.

Expectation

Testcases should not interfere with each other.

@rsb-23 rsb-23 linked a pull request Oct 18, 2024 that will close this issue
@rsb-23
Copy link
Author

rsb-23 commented Oct 24, 2024

[Unrelated] Few doctest failure on running pytest --doctest-modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant