X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Ftest_srcformats.py;h=802f0ffb688e29ad223760e569213c68c5b3dbe7;hb=4587ac614fbf2fcdb97cdf2752da2c3ce25c7398;hp=834a30b4fedf7c716b7fff9e90f9a96cde186d5d;hpb=3539a3c5aa973175f20ab1580e7690903fb8d679;p=dak.git diff --git a/tests/test_srcformats.py b/tests/test_srcformats.py index 834a30b4..802f0ffb 100755 --- a/tests/test_srcformats.py +++ b/tests/test_srcformats.py @@ -141,7 +141,7 @@ class ParseSourceFormat(ParseFormat): self.assertFormat('1.0', (1, 0)) def testZero(self): - self.assertFormat('0.0', (0, 0)) + self.assertInvalidFormat('0.0') def testNative(self): self.assertFormat('3.0 (native)', (3, 0, 'native'))