diff --git a/satpy/tests/reader_tests/test_hrit_base.py b/satpy/tests/reader_tests/test_hrit_base.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/reader_tests/test_hrit_base.py
+++ b/satpy/tests/reader_tests/test_hrit_base.py
@@ -87,7 +87,7 @@ class TestHRITDecompress(unittest.TestCase):
         else:
             os.environ.pop('XRIT_DECOMPRESS_PATH')
 
-        self.assertEqual(res, './bla.__')
+        self.assertEqual(res, os.path.join('.', 'bla.__'))
 
 
 class TestHRITFileHandler(unittest.TestCase):
Fix hrit decompression tests for windows