Tighten up the use of item and nwdoc objects in editor class
This commit is contained in:
3 files changed
+40
-43
No files matched your search
@@ -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