Enforce Python 3 for unittests

This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]

For reference:
s;/usr/bin/env python;/usr/bin/env python3;g

[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
This commit is contained in:
Max Rossmannek 2020-11-26 23:33:32 +01:00 committed by Tomas Babej
parent a8c215774b
commit 6d2ecaa15c
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5
127 changed files with 129 additions and 129 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
###############################################################################
#