diff options
author | Michael Weiser <michael.weiser@gmx.de> | 2019-04-24 09:55:22 +0000 |
---|---|---|
committer | Michael Weiser <michael.weiser@gmx.de> | 2019-04-25 12:20:20 +0000 |
commit | 211effe9ae3d71665eb7f45e108345e8e21c5dc5 (patch) | |
tree | 058af0fb89baf52a91636e5af595aa8baae2ba29 | |
parent | 0f63a3d8e347b7e81215d334d21ff533a56a9ad2 (diff) |
Fix test regex for python3
TypeError messages use quotes in python3 which need to be matched in our
test.
-rwxr-xr-x | test.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -644,7 +644,7 @@ rule.1: cuckoo_score higher_than: foo''') with self.assertRaisesRegexp( ValueError, - r'could not convert string to float: foo'): + r"could not convert string to float: '?foo'?"): RulesetEngine(ruleset_config=config, db_con=None) def test_disabled_config(self): |