Closed jburel closed 5 years ago
merge 217 failed with:
E TypeError: TemporaryFile() got an unexpected keyword argument 'encoding'
I saw that but strangely enough I did not have the error when I ran it locally
Merge (224) and py3 (40) has yet another failure message. Merging and I'll try to get this green today.
btw, @jburel, looking at:
Character Meaning
'r' open for reading (default)
'w' open for writing, truncating the file first
'x' open for exclusive creation, failing if the file already exists
'a' open for writing, appending to the end of the file if it exists
'b' binary mode
't' text mode (default)
'+' open a disk file for updating (reading and writing)
'U' universal newlines mode (deprecated)
https://docs.python.org/3/library/functions.html#open, did you also try using a binary mode?
I tried in binary mode but it broke other things down the line. So the impact of the changes was much greater
fix reading of original file This does fix the test https://py3-ci.openmicroscopy.org/jenkins/job/OMERO-test-integration/30/testReport/junit/OmeroPy.test.integration.metadata.test_populate/TestPopulateRois/testPopulateRoisPlate/ but it now shows the same error as the other tests i.e.