Skip to content

Commit 566e6dd

Browse files
committed
Loosen up exception test regex
1 parent a01a1ba commit 566e6dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/reader_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ def test_ip_validation(self):
9999

100100
def test_missing_database(self):
101101
self.assertRaisesRegex(FileNotFoundError,
102-
"No such file or directory: "
103-
"u?'file-does-not-exist.mmdb'",
102+
"No such file or directory",
104103
Reader, ('file-does-not-exist.mmdb'))
105104

106105
def test_nondatabase(self):

0 commit comments

Comments
 (0)