             didCatchExpectedError = true
         }
         XCTAssert(didCatchExpectedError)
+        #endif
     }
 
     func testMemoryArchiveErrorConditions() {

            }
        }
        XCTAssert(didCatchExpectedError)
        #endif
        let emptyArchive = Archive(accessMode: .create)
        let data = Data.makeRandomData(size: 1024)
        guard let replacementArchive = Archive(data: data, accessMode: .create) else {

            return
        }
        didCatchExpectedError = false
        // Trigger the error code path that is taken when no temporary archive
        // can be created during replacement
        replacementArchive.memoryFile = nil
        do {
            try emptyArchive?.replaceCurrentArchiveWithArchive(replacementArchive)
