Tighten up the use of item and nwdoc objects in editor class

This commit is contained in:
Veronica K. B. Olsen committed 2021-04-25 23:46:09 +02:00
1 parent e7102725bd
commit 5ee39d7ecc
3 files changed
+40 -43

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ def testCoreDocument_LoadSave(monkeypatch, dummyGUI, nwMinimal):
assert theDoc.getError() == "OSError"
# Saving with no handle
theDoc.clearDocument()
theDoc._docHandle = None
assert not theDoc.writeDocument(theText)
# Delete the last document