Commits

Fredrik Lundh committed 8453bc9

Fix version number check for patched versions (e.g. Ubuntu 9.10).

Comments (0)

Files changed (1)

Tests/test_file_png.py

 def test_sanity():
 
     # internal version number
-    assert_match(Image.core.zlib_version, "\d+\.\d+\.\d$")
+    assert_match(Image.core.zlib_version, "\d+\.\d+\.\d+(.\d+)$")
 
     file = tempfile("temp.png")