MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_version

Method test_version

tests/test_xgboost.py:10–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8
9class TestXGBoost(unittest.TestCase):
10 def test_version(self):
11 # b/175051617 prevent xgboost version downgrade.
12 self.assertGreaterEqual(StrictVersion(xgboost.__version__), StrictVersion("1.2.1"))
13
14 def test_classifier(self):
15 X_train = np.random.random((100, 28))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected