Tighten up the use of item and nwdoc objects in editor class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user