Fix tests

This commit is contained in:
Labrys of Knossos 2023-01-03 17:10:10 -05:00
commit 94e78bd3c4
2 changed files with 0 additions and 10 deletions

View file

@ -27,8 +27,6 @@ jobs:
vmImage: 'Ubuntu-latest'
strategy:
matrix:
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'
Python39:

View file

@ -1,16 +1,8 @@
from __future__ import annotations
import sys
import pytest
import nzb2media
from nzb2media import transcoder
@pytest.mark.xfail(
sys.platform == 'win32' and sys.version_info < (3, 8),
reason='subprocess.Popen does not support pathlib.Path commands in Python 3.7',
)
def test_transcoder_check():
assert transcoder.is_video_good(nzb2media.TEST_FILE, 1) is True