Skip to content

Commit ad0004c

Browse files
authored
Merge pull request #4247 from lanzagar/py38-fixtest
test_txt_reader: Update test for py38 error message
2 parents 5433e72 + 0fc3464 commit ad0004c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/tests/test_txt_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_read_csv_with_na(self):
8989
def test_read_nonutf8_encoding(self):
9090
with self.assertRaises(ValueError) as cm:
9191
data = Table(test_filename('datasets/binary-blob.tab'))
92-
self.assertIn('NULL byte', cm.exception.args[0])
92+
self.assertIn('NUL', cm.exception.args[0])
9393

9494
with self.assertRaises(ValueError):
9595
with warnings.catch_warnings():

0 commit comments

Comments
 (0)