Skip to content

Commit

Permalink
Skip performance test under windows. (#76)
Browse files Browse the repository at this point in the history
`time()` does not produce high resolved estimates and results in zero duration.
  • Loading branch information
sallner committed May 10, 2019
1 parent 390eebe commit 1848ec6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ class CompositeIndexPerformanceTest(CompositeIndexTestMixin,
unittest.TestCase):
layer = PseudoLayer

@unittest.skipIf(
sys.platform.startswith('win'),
'Time() is not well resolved in Windows.'
' In Python 3 use time.perf_count()')
def testPerformance(self):
self.enableLog()

Expand Down

0 comments on commit 1848ec6

Please sign in to comment.