Skip to content
Permalink
Browse files
Identation
  • Loading branch information
nyalldawson committed Dec 21, 2021
1 parent 190cdbf commit 8fef4e41319893dea548cc1cbac2ad8db26f374d
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/src/python/test_qgshistoryproviderregistry.py
@@ -11,7 +11,6 @@
__copyright__ = 'Copyright 2016, The QGIS Project'

import qgis # NOQA switch sip api
import qgis.core

from qgis.PyQt import sip
from qgis.PyQt.QtCore import (
@@ -133,7 +132,7 @@ def test_registry_entries(self):
self.assertEqual(entries[0].entry, {'some var': 6})

# query by date
entries = reg.queryEntries(start=QDateTime(3022, 1, 2, 3, 4, 5)) # this test will break in 3022, sorry
entries = reg.queryEntries(start=QDateTime(3022, 1, 2, 3, 4, 5)) # this test will break in 3022, sorry
self.assertEqual(len(entries), 0)
entries = reg.queryEntries(end=QDateTime(2020, 1, 2, 3, 4, 5))
self.assertEqual(len(entries), 0)

0 comments on commit 8fef4e4

Please sign in to comment.