diff options
author | Adam Hupp <adam@hupp.org> | 2020-03-31 10:07:19 -0700 |
---|---|---|
committer | Adam Hupp <adam@hupp.org> | 2020-03-31 10:07:19 -0700 |
commit | 8ed5dc4759e7e7eb879494f246d3c5eec7580376 (patch) | |
tree | 261a7f4a52291c15c825b0c5e4d178ef3fcb4b6a /test/test.py | |
parent | fd058e28873eafe6626f4b819679098f9def217d (diff) | |
download | python-magic-8ed5dc4759e7e7eb879494f246d3c5eec7580376.tar.gz |
Add alternative output for Parquet file
Diffstat (limited to 'test/test.py')
-rwxr-xr-x | test/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.py b/test/test.py index 266d214..1f16b59 100755 --- a/test/test.py +++ b/test/test.py @@ -16,7 +16,7 @@ class MagicTest(unittest.TestCase): def test_fs_encoding(self): self.assertEqual('utf-8', sys.getfilesystemencoding().lower()) - + def assert_values(self, m, expected_values, buf_equals_file=True): for filename, expected_value in expected_values.items(): try: @@ -91,7 +91,7 @@ class MagicTest(unittest.TestCase): 'from Unix, original size modulo 2^32 15' ), 'text.txt': 'ASCII text', - 'test.snappy.parquet': 'Apache Parquet' + 'test.snappy.parquet': ('Apache Parquet', 'Par archive data'), }, buf_equals_file=False) finally: del os.environ['TZ'] |