Skip to content

Commit

Permalink
Handle import error
Browse files Browse the repository at this point in the history
  • Loading branch information
JuhoErvasti committed Nov 1, 2024
1 parent 838b84c commit cc72cb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/processing/test_count_trajectories.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import processing
try:
import processing
except ImportError:
from qgis import processing

import pytest
from qgis.core import QgsFeature, QgsField, QgsGeometry, QgsPointXY, QgsVectorLayer
from qgis.PyQt.QtCore import QDate, QDateTime, QTime, QTimeZone, QVariant
Expand Down

0 comments on commit cc72cb3

Please sign in to comment.