Mindwerks / worldengine

World generator using simulation of plates, rain shadow, erosion, etc.
MIT License
988 stars 129 forks source link

Tests: Differentiate between Python 2 and Python 3 saves #144

Closed tcld closed 8 years ago

tcld commented 8 years ago

If this is ok, I will follow up with an update to my PR at worldengine-data.

https://github.com/Mindwerks/worldengine-data/pull/1

tcld commented 8 years ago

I remembered that World_pb2.py now supposedly is the same for Python 2 and 3. Is that right? And if so: Well...maybe we don't need separate pickle-files? Since I can't use the Python 2-version of Worldengine I also can't check what it would output and if the files maybe are the same.

psi29a commented 8 years ago

protobuf solves the python2/3 problem (one file fits all), but only for protobuf worlds. :)

tcld commented 8 years ago

Oh, I'm an idiot. Disregard my last comment.^^ (I was thinking about pickle and somehow mixed the protobuf file in, and then thought "Hey, maybe the problem is non-existent?".)