github.com/sercand/please@v13.4.0+incompatible/test/python_rules/pandas_test.py (about)

     1  import unittest
     2  
     3  
     4  class PandasTest(unittest.TestCase):
     5  
     6      def test_import(self):
     7          import pandas as pd
     8          pd.DataFrame()
     9  
    10      def test_third_party_import(self):
    11          from third_party.python import pandas as pd2
    12          import pandas as pd
    13          df = pd.DataFrame()
    14          self.assertIsInstance(df, pd2.DataFrame)