Skip to content

Commit

Permalink
naughty: handle fnmatch regex behaviour on Python 3.9
Browse files Browse the repository at this point in the history
On Python 3.9 fnmatch cannot handle ["check-foo"] and gives an
exception.
  • Loading branch information
jelly committed Oct 30, 2023
1 parent d46b01e commit 78766f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Traceback (most recent call last):
File "*", line *, in testRebootAndTime
*
})(["January 1, 2037", ["check-journal", "AFTER BOOT", ""], ["", "Reboot", ""], ["check-journal", "BEFORE BOOT", ""]])): Uncaught (in promise) Error: condition did not become true
})(["January 1, 2037", ["check*journal", "AFTER BOOT", ""], ["", "Reboot", ""], ["check*journal", "BEFORE BOOT", ""]])): Uncaught (in promise) Error: condition did not become true
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Traceback (most recent call last):
File "*", line *, in testRebootAndTime
*
})(["January 1, 2037", ["check-journal", "AFTER BOOT", ""], ["", "Reboot", ""], ["check-journal", "BEFORE BOOT", ""]])): Uncaught (in promise) Error: condition did not become true
})(["January 1, 2037", ["check*journal", "AFTER BOOT", ""], ["", "Reboot", ""], ["check*journal", "BEFORE BOOT", ""]])): Uncaught (in promise) Error: condition did not become true
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Traceback (most recent call last):
File "*", line *, in testRebootAndTime
*
})(["January 1, 2037", ["check-journal", "AFTER BOOT", ""], ["", "Reboot", ""], ["check-journal", "BEFORE BOOT", ""]])):* condition did not become true
})(["January 1, 2037", ["check*journal", "AFTER BOOT", ""], ["", "Reboot", ""], ["check*journal", "BEFORE BOOT", ""]])):* condition did not become true

0 comments on commit 78766f1

Please sign in to comment.