Browse Source

Fix running tests with PyQt 5.11

This was causing the test runner to crash.
Ghostkeeper 6 years ago
parent
commit
f8da8c14e5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/conftest.py

+ 2 - 0
tests/conftest.py

@@ -6,6 +6,8 @@
 import unittest.mock
 import pytest
 
+import Arcus #Prevents error: "PyCapsule_GetPointer called with incorrect name" with conflicting SIP configurations between Arcus and PyQt: Import Arcus and Savitar first!
+import Savitar
 from UM.Qt.QtApplication import QtApplication #QtApplication import is required, even though it isn't used.
 from cura.CuraApplication import CuraApplication
 from cura.MachineActionManager import MachineActionManager