diff options
| -rwxr-xr-x | test/test.py | 4 | ||||
| -rw-r--r-- | test/testdata/magic._pyc_ (renamed from test/testdata/magic.pyc) | bin | 1797 -> 1797 bytes |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test.py b/test/test.py index ed3f46b..59298a1 100755 --- a/test/test.py +++ b/test/test.py @@ -37,7 +37,7 @@ class MagicTest(unittest.TestCase): try: m = magic.Magic(mime=True) self.assert_values(m, { - 'magic.pyc': 'application/octet-stream', + 'magic._pyc_': 'application/octet-stream', 'test.pdf': 'application/pdf', 'test.gz': 'application/gzip', 'text.txt': 'text/plain', @@ -52,7 +52,7 @@ class MagicTest(unittest.TestCase): os.environ['TZ'] = 'UTC' # To get the last modified date of test.gz in UTC try: self.assert_values(m, { - 'magic.pyc': 'python 2.4 byte-compiled', + 'magic._pyc_': 'python 2.4 byte-compiled', 'test.pdf': 'PDF document, version 1.2', 'test.gz': ('gzip compressed data, was "test", from Unix, last modified: Sun Jun 29 01:32:52 2008', diff --git a/test/testdata/magic.pyc b/test/testdata/magic._pyc_ Binary files differindex ba801e0..ba801e0 100644 --- a/test/testdata/magic.pyc +++ b/test/testdata/magic._pyc_ |
