We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c82bc commit c71fabaCopy full SHA for c71faba
tests/test_video.py
@@ -24,7 +24,7 @@ def test_video_Movie_attributeerror(movie):
24
25
26
def test_video_Movie_datetime_timezone(movie):
27
- original = plexutils.DATETIME_TIMEZONE
+ original_tz = plexutils.DATETIME_TIMEZONE
28
try:
29
# no timezone configured, should be naive
30
setDatetimeTimezone(False)
@@ -51,7 +51,7 @@ def test_video_Movie_datetime_timezone(movie):
51
assert dt.tzinfo is not None
52
assert dt.tzinfo.utcoffset(dt) == timedelta(hours=4)
53
finally: # Restore for other tests
54
- setDatetimeTimezone(original)
+ plexutils.DATETIME_TIMEZONE = original_tz
55
56
57
def test_video_ne(movies):
0 commit comments