platform.system is a method
@@ -4,11 +4,11 @@ import platform
# Remove "sys.exit" after feedstock creation when running
# on linux-anvil-cos7-x86_64 image
-if platform.system == "Linux":
+if platform.system() == "Linux":
import sys
sys.exit(0)
-if platform.system == "Windows":
+if platform.system() == "Windows":
ext = ".cmd"
else:
ext = ""
@@ -22,4 +22,4 @@ p = Popen(
stdout_data = p.communicate(
input=json.dumps({"data": {"data": []}, "format": "png"})
)[0]
-assert "iVBORw" in stdout_data
+assert "iVBOrw" in stdout_data
