Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
include:
- { os: ubuntu-latest, shell: bash }
- { os: ubuntu-22.04, shell: bash, python-version: 3.7 }
- { os: macos-latest, shell: bash }
- { os: macos-13, shell: bash }
- { os: windows-latest, shell: pwsh }
Expand All @@ -106,6 +107,7 @@ jobs:
- { os: macos-latest, python-version: 3.7 }
- { os: macos-latest, python-version: 3.8 }
- { os: macos-latest, python-version: 3.9 }
- { os: ubuntu-latest, python-version: 3.7 }

defaults:
run:
Expand Down
4 changes: 4 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# required by RTD
version: 2

sphinx:
# Path to your Sphinx configuration file.
configuration: docs/conf.py

build:
os: "ubuntu-20.04"
tools:
Expand Down
14 changes: 10 additions & 4 deletions tests/test_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,18 @@ def test_str(self):

self.assertMultiLineEqual(
str(cl),
'Clip("test_clip", MissingReference(\'\', None, None, {}), None, {})'
'Clip("test_clip", '
'MissingReference(\'\', None, None, {}), None, {}, [], [])'
)
self.assertMultiLineEqual(
repr(cl),
'otio.schema.Clip('
"name='test_clip', "
'media_reference={}, '
'source_range=None, '
'metadata={{}}'
'metadata={{}}, '
'effects=[], '
'markers=[]'
')'.format(
repr(cl.media_reference)
)
Expand All @@ -87,7 +90,8 @@ def test_str_with_filepath(self):
self.assertMultiLineEqual(
str(cl),
'Clip('
'"test_clip", ExternalReference("/var/tmp/foo.mov"), None, {}'
'"test_clip", '
'ExternalReference("/var/tmp/foo.mov"), None, {}, [], []'
')'
)
self.assertMultiLineEqual(
Expand All @@ -98,7 +102,9 @@ def test_str_with_filepath(self):
"target_url='/var/tmp/foo.mov'"
"), "
'source_range=None, '
'metadata={}'
'metadata={}, '
'effects=[], '
'markers=[]'
')'
)

Expand Down
Loading