Skip to content

Commit

Permalink
Do not test extension for subformats
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Jan 28, 2016
1 parent bf7fc7c commit 0b5db30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serialize/testsuite/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def _test_round_trip(self, obj):
self.assertEqual(obj, loads(dumps(obj, self.FMT), self.FMT))

def test_format_from_ext(self):
if ':' in self.FMT:
return
fh = FORMATS[self.FMT]
self.assertEqual(_get_format_from_ext(fh.extension), self.FMT)

Expand Down

0 comments on commit 0b5db30

Please sign in to comment.