tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / pyuno / qa / pytests / testbz2.py
blob12a44e14bb0906e961a557dda490baf42ecbd47b
1 import os
2 import unittest
4 # tdf#116412: make sure importing bz2 works on all platforms
5 class BZ2Test(unittest.TestCase):
6 def test_bz2_import(self):
7 import bz2
9 # use imported bz2 module for pyflakes
10 with open(os.devnull, "w") as devnull:
11 print(str(bz2), file=devnull)
13 if __name__ == '__main__':
14 unittest.main()