Changed a format string in the tests so 3.5 should build

This commit is contained in:
Jamie Hardt
2019-01-03 19:28:48 -08:00
parent 68f118ab6b
commit 7b4a76448e
5 changed files with 34 additions and 4 deletions

View File

@@ -96,3 +96,11 @@ class ChannelMap:
self.a3 = ext.audio3
self.a4 = ext.audio4
def __or__(self, other):
"""
Return the logical union of this channel map with another
"""
out_v = self.video | other.video
out_a = self._audio_channel_set | other._audio_channel_set
return ChannelMap(v=out_v,audio_channels = out_a)