Skip to content

Commit

Permalink
Adds test skip for python < 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
pritchardn committed Jan 11, 2022
1 parent 13ec74f commit 8306f05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions daliuge-engine/test/test_drop.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import shutil
import sqlite3
import string
import sys
import tempfile
import subprocess

Expand Down Expand Up @@ -132,12 +133,14 @@ def test_dynamic_write_InMemoryDROP(self):
"""
self._test_dynamic_write_withDropType(InMemoryDROP)

@unittest.skipIf(sys.version_info < (3, 8), "Shared memory does nt work < python 3.8")
def test_write_SharedMemoryDROP(self):
"""
Test a SharedMemoryDROP with simple AppDROP (for checksum calculation)
"""
self._test_write_withDropType(SharedMemoryDROP)

@unittest.skipIf(sys.version_info < (3, 8), "Shared memory does nt work < python 3.8")
def test_dynamic_write_SharedMemoryDROP(self):
"""
Test a SharedMemoryDROP with simple AppDROP (for checksum calculation)
Expand Down

0 comments on commit 8306f05

Please sign in to comment.