Commits

Mikhail Korobov committed e5f68a4

extra test for non-text layers

  • Participants
  • Parent commits bc148b5

Comments (0)

Files changed (1)

File tests/test_text.py

 
     layer = psd.layers[layer_num]
     assert layer.text_data.text == text
+
+def test_no_text():
+    psd = PSDImage(decode_psd('1layer.psd'))
+    assert psd.layers[0].text_data is None