Skip to content

Commit f76b45c

Browse files
committed
Ignore new cryptography deprecation warning
1 parent 5a2996d commit f76b45c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
# run test suite
223223
python -O -m test.framework.suite 2>&1 | tee test_framework_suite.log
224224
# try and make sure output of running tests is clean (no printed messages/warnings)
225-
IGNORE_PATTERNS="no GitHub token available|stty: 'standard input': Inappropriate ioctl for device|CryptographyDeprecationWarning: Python 3.[56]|from cryptography.*default_backend|CryptographyDeprecationWarning: Python 2|from cryptography.utils import int_from_bytes|Blowfish|GC3Pie not available, skipping test"
225+
IGNORE_PATTERNS="no GitHub token available|stty: 'standard input': Inappropriate ioctl for device|CryptographyDeprecationWarning: Python 3.[56]|from cryptography.*import|CryptographyDeprecationWarning: Python 2|Blowfish|GC3Pie not available, skipping test"
226226
# '|| true' is needed to avoid that Travis stops the job on non-zero exit of grep (i.e. when there are no matches)
227227
PRINTED_MSG=$(egrep -v "${IGNORE_PATTERNS}" test_framework_suite.log | grep '\.\n*[A-Za-z]' || true)
228228
test "x$PRINTED_MSG" = "x" || (echo "ERROR: Found printed messages in output of test suite" && echo "${PRINTED_MSG}" && exit 1)

0 commit comments

Comments
 (0)