mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 08:50:54 +00:00
autopep
This commit is contained in:
@@ -201,6 +201,7 @@ def _parse_split(line: str, line_number):
|
|||||||
class EventFormError(RuntimeError):
|
class EventFormError(RuntimeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
def _parse_unrecognized(line, line_number):
|
def _parse_unrecognized(line, line_number):
|
||||||
return StmtUnrecognized(content=line, line_number=line_number)
|
return StmtUnrecognized(content=line, line_number=line_number)
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ from unittest import TestCase
|
|||||||
|
|
||||||
from pycmx import parse_cmx3600
|
from pycmx import parse_cmx3600
|
||||||
|
|
||||||
|
|
||||||
class Issue19Test(TestCase):
|
class Issue19Test(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.f = open("tests/edls/ISSUE_19_unusual01.edl")
|
self.f = open("tests/edls/ISSUE_19_unusual01.edl")
|
||||||
|
|
||||||
|
|
||||||
def test_parse(self):
|
def test_parse(self):
|
||||||
edl = parse_cmx3600(self.f, tolerant=True)
|
edl = parse_cmx3600(self.f, tolerant=True)
|
||||||
for event in edl.events:
|
for event in edl.events:
|
||||||
@@ -21,6 +21,5 @@ class Issue19Test(TestCase):
|
|||||||
self.assertEqual(event.edits[0].record_out, "00:00:04:06")
|
self.assertEqual(event.edits[0].record_out, "00:00:04:06")
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
self.f.close()
|
self.f.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user