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

Fix convert_to_local tests on Windows #785

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

oddstr13
Copy link
Member

I've been unable to find any tzset equivalent for Windows.

The closest I got was this stackoverflow answer from 2011, but it is 10 years outdated, code no longer runs (errors on the msvcrt.ctime), and suggests recompiling Python with specific preprocessor flags is required.
https://stackoverflow.com/a/6972586/1035647

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #785 (8dbf503) into master (c4ee2b0) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #785   +/-   ##
=======================================
  Coverage   21.51%   21.51%           
=======================================
  Files          63       63           
  Lines        8542     8542           
  Branches     1572     1572           
=======================================
  Hits         1838     1838           
+ Misses       6682     6680    -2     
- Partials       22       24    +2     
Files Coverage Δ
jellyfin_kodi/helper/utils.py 28.36% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@oddstr13 oddstr13 force-pushed the pr-pytest-timezone-windows-1 branch from 3c4a9f2 to 8dbf503 Compare October 21, 2023 16:54
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
3.2% 3.2% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@oddstr13 oddstr13 merged commit e95e8d6 into jellyfin:master Oct 21, 2023
13 of 14 checks passed
@oddstr13 oddstr13 added the tests label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant