1. Mikhail Korobov
  2. psd-tools

Commits

Mikhail Korobov  committed e5f68a4

extra test for non-text layers

  • Participants
  • Parent commits bc148b5
  • Branches default

Comments (0)

Files changed (1)

File tests/test_text.py

View file
 
     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